$roles


Role Methods

$role->addPermission(name|id|Permission)

Introduced in Version 2.0

Description

Add the given permission. This is the same as $role->permissions->add($permission) except this one will accept name, ID or Permission.

Post Comment