AdminAccessPermissionFactoryInterface

Extends

Interface AdminAccessPermissionFactoryInterface

category

System

package

AdminAccess

subpackage

Factories

Methods

AdminAccessPermissionFactory constructor.

__construct(\CI_DB_query_builder $queryBuilder, \AdminAccessGroupReaderInterface $groupReader) 

Arguments

$queryBuilder

\CI_DB_query_builder

Query builder.

$groupReader

\AdminAccessGroupReaderInterface

Admin access group reader.

Creates an admin access permission.

createAdminAccessPermission() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface

Creates an admin access permission collection.

createAdminAccessPermissionCollection(array $permissionObjectsArray = array()) : \AdminAccessPermissionCollection

Arguments

$permissionObjectsArray

array

Array of permission objects.

Response

\AdminAccessPermissionCollection

Permission collection.