Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel spatie asigne role

$role->syncPermissions($permissions);
$permission->syncRoles($roles);
Source by spatie.be #
 
PREVIOUS NEXT
Tagged: #laravel #spatie #asigne #role
ADD COMMENT
Topic
Name
4+6 =