1 | <?php |
||
13 | class User extends Entity |
||
14 | { |
||
15 | |||
16 | protected static $columns = [ |
||
17 | 'email' => 'string', |
||
18 | 'password_hash' => 'string', |
||
19 | ]; |
||
20 | |||
21 | /** |
||
22 | * User constructor. |
||
23 | * |
||
24 | * @param string $email |
||
25 | * @param string $passwordHash |
||
26 | */ |
||
27 | public function __construct(string $email, string $passwordHash) |
||
34 | } |
||
35 |