AdminAccessUserFactory

Implements \AdminAccessUserFactoryInterface

Class AdminAccessUserFactory

category

System

package

AdminAccess

subpackage

Factories

Methods

AdminAccessUserFactory constructor.

__construct(\CI_DB_query_builder $queryBuilder, \AdminAccessRoleFactory $roleFactory) 

Arguments

$queryBuilder

\CI_DB_query_builder

Query builder.

$roleFactory

\AdminAccessRoleFactory

Role factory.

Creates an admin access user deleter.

_createAdminAccessUserDeleter() : \AdminAccessUserDeleterInterface

Response

\AdminAccessUserDeleterInterface

User deleter object.

Creates an admin access user writer.

_createAdminAccessUserWriter() : \AdminAccessUserWriterInterface

Response

\AdminAccessUserWriterInterface

User writer object.

Creates an admin access user.

createAdminAccessUser(\IdType $customerId) : \AdminAccessUserInterface

Arguments

$customerId

\IdType

User id.

Response

\AdminAccessUserInterface

User object.

Properties

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

roleFactory

roleFactory : \AdminAccessRoleFactory