AdminAccessPermissionDeleterInterface

Extends

Interface AdminAccessPermissionDeleterInterface

category

System

package

AdminAccess

subpackage

Deleters

Methods

Deletes a permission by given AdminAccessRole and AdminAccessGroup objects.

delete(\AdminAccessRoleInterface $accessRole, \AdminAccessGroupInterface $accessGroup) : \AdminAccessPermissionDeleterInterface

Arguments

$accessRole

\AdminAccessRoleInterface

Role object.

$accessGroup

\AdminAccessGroupInterface

Group object.

Response

\AdminAccessPermissionDeleterInterface

Returns same instance for chained method calls.

Deletes a permission by given AdminAccessRole id and AdminAccessGroup id.

deleteByIds(\IdType $roleId, \IdType $groupId) : \AdminAccessPermissionDeleterInterface

Arguments

$roleId

\IdType

Role ID.

$groupId

\IdType

Group ID.

Response

\AdminAccessPermissionDeleterInterface

Returns same instance for chained method calls.