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