Presenter.php 322 Bytes
Newer Older
Jacob Priddy's avatar
Jacob Priddy committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace Source\UseCases\Token\Authenticate;

use App\User;

interface Presenter {
    /**
     * @param ResponseModel $responseModel
     * @return void
     */
    public function present(ResponseModel $responseModel): void;

    /**
     * @return User|null
     */
    public function getViewModel(): ?User;
}