phpDocumentor

OrderItemAttributeRepositoryFactory
in package
implements OrderItemAttributeRepositoryFactoryInterface

Class OrderItemAttributeRepositoryFactory

Tags
category

System

subpackage

Factories

Interfaces, Classes and Traits

OrderItemAttributeRepositoryFactoryInterface
Interface OrderItemAttributeRepositoryFactoryInterface

Table of Contents

$db  : Ci_Db_query_builder
Instance of query builder which is passed to the reader, writer and deleter.
$repositoryArray  : array<string|int, mixed>
Repository array.
__construct()  : mixed
OrderItemAttributeRepositoryFactory constructor.
createRepositoryArray()  : array<string|int, OrderItemAttributeRepository>
Creates an array which contain all repository of type OrderItemAttributeRepositoryInterface.
createRepositoryByAttributeClass()  : OrderItemAttributeRepository
Creates an order item attribute repository by the given class name.
createRepositoryByAttributeObject()  : OrderItemAttributeRepository
Creates an order item attribute repository by the given object type.
_setRepositoryArrayAttributeIfNull()  : mixed
Creates an OrderItemAttributeRepository object and assigns it to the key 'attribute' of the $repositoryArray array, when its current value is null.
_setRepositoryArrayPropertyIfNull()  : mixed
Creates an OrderItemPropertyRepository object and assigns it to the key 'property' of the $repositoryArray array, when its current value is null.

Properties

$repositoryArray

Repository array.

protected array<string|int, mixed> $repositoryArray = ['attribute' => ull, 'property' => ull]

Default: ['attribute' => null, 'property' => null]

Methods

__construct()

OrderItemAttributeRepositoryFactory constructor.

public __construct(CI_DB_query_builder $dbQueryBuilder) : mixed
Parameters
$dbQueryBuilder : CI_DB_query_builder

Query builder.

Return values
mixed

_setRepositoryArrayAttributeIfNull()

Creates an OrderItemAttributeRepository object and assigns it to the key 'attribute' of the $repositoryArray array, when its current value is null.

protected _setRepositoryArrayAttributeIfNull() : mixed
Return values
mixed

_setRepositoryArrayPropertyIfNull()

Creates an OrderItemPropertyRepository object and assigns it to the key 'property' of the $repositoryArray array, when its current value is null.

protected _setRepositoryArrayPropertyIfNull() : mixed
Return values
mixed

Search results