Class OrderItemAttributeRepositoryFactory
Class OrderItemAttributeRepositoryFactory
- OrderItemAttributeRepositoryFactory implements OrderItemAttributeRepositoryFactoryInterface
Category: System
Located at Services/Core/Order/Factories/OrderItemAttributeRepositoryFactory.inc.php
Methods summary
public
|
#
__construct( CI_DB_query_builder $dbQueryBuilder )
OrderItemAttributeRepositoryFactory constructor. |
public
|
#
createRepositoryByAttributeClass( string $className )
Creates an order item attribute repository by the given class name. |
public
|
#
createRepositoryByAttributeObject(
Creates an order item attribute repository by the given object type. |
public
|
#
createRepositoryArray( )
Creates an array which contain all repository of type OrderItemAttributeRepositoryInterface. |
protected
|
#
_setRepositoryArrayAttributeIfNull( )
Creates an OrderItemAttributeRepository object and assigns it to the key 'attribute' of the $repositoryArray array, when its current value is null. |
protected
|
#
_setRepositoryArrayPropertyIfNull( )
Creates an OrderItemPropertyRepository object and assigns it to the key 'property' of the $repositoryArray array, when its current value is null. |
Properties summary
protected
array
|
$repositoryArray
Repository array. Default: ['attribute' => null, 'property' => null] |
#
array('attribute' => null, 'property' => null)
|
protected
Ci_Db_query_builder
|
$db
Instance of query builder which is passed to the reader, writer and deleter. |