Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

latavel attach method

$user->roles()->attach($roleId, ['expires' => $expires]);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #latavel #attach #method
ADD COMMENT
Topic
Name
1+5 =