Свойство | Тип | Описание | |
---|---|---|---|
$fillable | {@inheritDoc} | ||
$table | {@inheritDoc} | ||
$usersModel | string | The Eloquent users model name. |
Метод | Описание | |
---|---|---|
__call ( string $method, array $parameters ) : mixed | Dynamically pass missing methods to the permissions. | |
delete ( ) | {@inheritDoc} | |
getPermissionsAttribute ( mixed $permissions ) : array | Get mutator for the "permissions" attribute. | |
getRoleId ( ) | {@inheritDoc} | |
getRoleSlug ( ) | {@inheritDoc} | |
getUsers ( ) | {@inheritDoc} | |
getUsersModel ( ) | {@inheritDoc} | |
setPermissionsAttribute ( array $permissions ) : void | Set mutator for the "permissions" attribute. | |
setUsersModel ( $usersModel ) | {@inheritDoc} | |
users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | The Users relationship. |
Метод | Описание | |
---|---|---|
createPermissions ( ) | {@inheritDoc} |
public getPermissionsAttribute ( mixed $permissions ) : array | ||
$permissions | mixed | |
Результат | array |
public setPermissionsAttribute ( array $permissions ) : void | ||
$permissions | array | |
Результат | void |
public static setUsersModel ( $usersModel ) |
public users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
Результат | Illuminate\Database\Eloquent\Relations\BelongsToMany |
protected static string $usersModel | ||
Результат | string |