AdminAccessUserWriter

Implements \AdminAccessUserWriterInterface

Class AdminAccessUserWriter

category

System

package

AdminAccess

subpackage

Writers

Methods

AdminAccessUserWriter constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Query builder.

Stores the user roles into the database.

store(\IdType $customerId, \AdminAccessRoleCollection $roles) : \AdminAccessUserWriterInterface

Arguments

$customerId

\IdType

Customer ID.

$roles

\AdminAccessRoleCollection

Roles collection.

Response

\AdminAccessUserWriterInterface

Returns same instance for chained method calls.

Properties

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

accessUsersTable

accessUsersTable : string
var

Type(s)

string