1 | <?php |
||
11 | class Admin extends User |
||
12 | { |
||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | */ |
||
16 | protected $passwordResetNotificationClass = AdminPasswordResetNotification::class; |
||
|
|||
17 | |||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | protected $emailVerificationNotificationClass = AdminEmailVerificationNotification::class; |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | protected $phoneVerificationNotificationClass = PhoneVerificationNotification::class; |
||
27 | |||
28 | /** |
||
29 | * Create a new Eloquent model instance. |
||
30 | * |
||
31 | * @param array $attributes |
||
32 | */ |
||
33 | public function __construct(array $attributes = []) |
||
59 | |||
60 | /** |
||
61 | * Get the route key for the model. |
||
62 | * |
||
63 | * @return string |
||
64 | */ |
||
65 | public function getRouteKeyName() |
||
69 | } |
||
70 |
Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.