public function giveRolePermissions($role_id, array $permissions, bool $inverse)
    {

        foreach ($permissions as $key => $permission_name)
            $this->giveRolePermission($role_id, $permission_name, $inverse);

    }
public function giveRolePermissions($role_id, array $permissions, bool $inverse)
    {

        foreach ($permissions as $key => $permission_name)
            $this->giveRolePermission($role_id, $permission_name, $inverse);

    }
public function giveRolePermissions ( $ role_id , array $ permissions , bool $ inverse ) { foreach ( $ permissions as $ key => $ permission_name ) $ this -> giveRolePermission ( $ role_id , $ permission_name , $ inverse ) ; }
Give a role many permissions.

@param       $role_id
@param array $permissions
@param bool  $inverse
Give a role many permissions .