| 1 | <?php declare(strict_types=1); |
||
| 13 | abstract class User extends AbstractResource implements UserInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var int |
||
| 17 | */ |
||
| 18 | protected $id; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $name; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $login; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | protected $email; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | protected $gravatar_id; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var bool |
||
| 42 | */ |
||
| 43 | protected $is_syncing; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var DateTimeInterface |
||
| 47 | */ |
||
| 48 | protected $synced_at; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @var bool |
||
| 52 | */ |
||
| 53 | protected $correct_scopes; |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @var DateTimeInterface |
||
| 57 | */ |
||
| 58 | protected $created_at; |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return int |
||
| 62 | */ |
||
| 63 | public function id() : int |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return string |
||
| 70 | */ |
||
| 71 | public function name() : string |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return string |
||
| 78 | */ |
||
| 79 | public function login() : string |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @return string |
||
| 86 | */ |
||
| 87 | public function email() : string |
||
| 91 | |||
| 92 | /** |
||
| 93 | * @return string |
||
| 94 | */ |
||
| 95 | public function gravatarId() : string |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @return bool |
||
| 102 | */ |
||
| 103 | public function isSyncing() : bool |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @return DateTimeInterface |
||
| 110 | */ |
||
| 111 | public function syncedAt() : DateTimeInterface |
||
| 115 | |||
| 116 | /** |
||
| 117 | * @return bool |
||
| 118 | */ |
||
| 119 | public function correctScopes() : bool |
||
| 123 | |||
| 124 | /** |
||
| 125 | * @return DateTimeInterface |
||
| 126 | */ |
||
| 127 | public function createdAt() : DateTimeInterface |
||
| 131 | } |
||
| 132 |