1 | <?php namespace App\Modules\Acl; |
||
8 | class AclUser extends User { |
||
9 | |||
10 | use SoftDeletes, HasApiTokens; |
||
11 | protected $table = 'users'; |
||
12 | protected $dates = ['created_at', 'updated_at', 'deleted_at']; |
||
13 | protected $hidden = ['password', 'remember_token', 'deleted_at']; |
||
14 | protected $guarded = ['id']; |
||
15 | protected $fillable = ['profile_picture', 'name', 'email', 'password', 'locale', 'time_zone']; |
||
16 | public $searchable = ['name', 'email']; |
||
17 | |||
18 | public function getCreatedAtAttribute($value) |
||
22 | |||
23 | public function getUpdatedAtAttribute($value) |
||
27 | |||
28 | public function getDeletedAtAttribute($value) |
||
32 | |||
33 | /** |
||
34 | * Get the profile picture url. |
||
35 | * @return string |
||
36 | */ |
||
37 | public function getProfilePictureAttribute($value) |
||
41 | |||
42 | /** |
||
43 | * Encrypt the password attribute before |
||
44 | * saving it in the storage. |
||
45 | * |
||
46 | * @param string $value |
||
47 | */ |
||
48 | public function setPasswordAttribute($value) |
||
52 | |||
53 | /** |
||
54 | * Get the entity's notifications. |
||
55 | */ |
||
56 | public function notifications() |
||
60 | |||
61 | /** |
||
62 | * Get the entity's read notifications. |
||
63 | */ |
||
64 | public function readNotifications() |
||
68 | |||
69 | /** |
||
70 | * Get the entity's unread notifications. |
||
71 | */ |
||
72 | public function unreadNotifications() |
||
76 | |||
77 | public function groups() |
||
81 | |||
82 | public function oauthClients() |
||
86 | |||
87 | /** |
||
88 | * Return fcm device tokens that will be used in sending fcm notifications. |
||
89 | * |
||
90 | * @return array |
||
91 | */ |
||
92 | public function routeNotificationForFCM() |
||
116 | |||
117 | /** |
||
118 | * The channels the user receives notification broadcasts on. |
||
119 | * |
||
120 | * @return string |
||
121 | */ |
||
122 | public function receivesBroadcastNotificationsOn() |
||
126 | |||
127 | /** |
||
128 | * Custom password validation. |
||
129 | * |
||
130 | * @param string $password |
||
131 | * @return boolean |
||
132 | */ |
||
133 | public function validateForPassportPasswordGrant($password) |
||
142 | |||
143 | public static function boot() |
||
148 | } |
||
149 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.