| Total Complexity | 8 | 
| Total Lines | 70 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 13 | trait UserHelpers | ||
| 14 | { | ||
| 15 | use CanResetPassword; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * @inheritdoc | ||
| 19 | */ | ||
| 20 | public function retrieveId() | ||
| 21 |     { | ||
| 22 | return $this->id; | ||
| 23 | } | ||
| 24 | |||
| 25 | /** | ||
| 26 | * @inheritdoc | ||
| 27 | */ | ||
| 28 | public function retrieveRemoteId() | ||
| 29 |     { | ||
| 30 | return $this->remote_id; | ||
| 31 | } | ||
| 32 | |||
| 33 | /** | ||
| 34 | * @inheritdoc | ||
| 35 | */ | ||
| 36 | public function retrieveName() | ||
| 39 | } | ||
| 40 | |||
| 41 | /** | ||
| 42 | * @inheritdoc | ||
| 43 | */ | ||
| 44 | public function retrieveEmail() | ||
| 45 |     { | ||
| 46 | return $this->email; | ||
| 47 | } | ||
| 48 | |||
| 49 | /** | ||
| 50 | * @inheritdoc | ||
| 51 | */ | ||
| 52 | public function retrievePassword() | ||
| 53 |     { | ||
| 54 | return $this->password; | ||
| 55 | } | ||
| 56 | |||
| 57 | /** | ||
| 58 | * @inheritdoc | ||
| 59 | */ | ||
| 60 | public function retrieveCreatedAt() | ||
| 61 |     { | ||
| 62 | return $this->created_at; | ||
| 63 | } | ||
| 64 | |||
| 65 | /** | ||
| 66 | * @inheritdoc | ||
| 67 | */ | ||
| 68 | public function retrieveUpdatedAt() | ||
| 69 |     { | ||
| 70 | return $this->updated_at; | ||
| 71 | } | ||
| 72 | |||
| 73 | /** | ||
| 74 | * Send the password reset notification. | ||
| 75 | * | ||
| 76 | * @param string $token | ||
| 77 | * | ||
| 78 | * @return void | ||
| 79 | */ | ||
| 80 | public function sendPasswordResetNotification($token) | ||
| 83 | } | ||
| 84 | } |