ResponseModel.php 385 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
19
20
21
22
23
<?php

namespace Source\UseCases\Token\Authenticate;

use Source\Entities\User;

class ResponseModel {
    protected ?User $user = null;

    /**
     * @param User|null $user
     */
    public function setUser(?User $user): void {
        $this->user = $user;
    }

    /**
     * @return User|null
     */
    public function getUser(): ?User {
        return $this->user;
    }
}