AdminAccessRoleWriterInterface

Extends

Interface AdminAccessRoleWriterInterface

category

System

package

AdminAccess

subpackage

Writers

Methods

Stores a role into the database.

insert(\AdminAccessRole $role) : integer

Arguments

$role

\AdminAccessRole

Role object.

Response

integer

ID of stored role.

Updates a role from the database.

update(\AdminAccessRole $role) : \AdminAccessRoleWriterInterface

Arguments

$role

\AdminAccessRole

Role object.

Response

\AdminAccessRoleWriterInterface

Returns same instance for chained method calls.