1 | <?php declare(strict_types=1); |
||
12 | abstract class User extends AbstractResource implements UserInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $name; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $email; |
||
23 | |||
24 | /** |
||
25 | * @var DateTimeInterface |
||
26 | */ |
||
27 | protected $date; |
||
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | public function name() : string |
||
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | public function email() : string |
||
44 | |||
45 | /** |
||
46 | * @return DateTimeInterface |
||
47 | */ |
||
48 | public function date() : DateTimeInterface |
||
52 | } |
||
53 |