ContentServiceFactory
in package
implements
ContentServiceFactoryInterface
Class ContentServiceFactory
This class represents a factory for content services
Tags
Interfaces, Classes and Traits
- ContentServiceFactoryInterface
- Interface ContentServiceFactoryInterface
Table of Contents
- $contentIdentificationResolver : ContentIdResolverInterface
- $deleter : ContentDeleter
- $factory : ContentValueObjectFactory
- $identificationFactory : ContentIdentificationFactory
- $queryBuilder : CI_DB_query_builder
- CodeIgniter QueryBuilder
- $reader : ContentReader
- $readService : ContentReadService
- $repository : ContentRepository
- Content repository
- $writer : ContentWriter
- Content writer
- $writeService : ContentWriteService
- Content write service
- __construct() : mixed
- ContentServiceFactory constructor
- createReadService() : ContentReadService
- createWriteService() : ContentWriteService
- Return a content write service
- deleter() : ContentDeleter
- Create content deleter.
- reader() : ContentReader
- contentIdentificationResolver() : ContentIdResolverInterface
- factory() : ContentValueObjectFactory
- identificationFactory() : ContentIdentificationFactoryInterface
- repository() : ContentRepository
- Return a content repository
- writer() : ContentWriter
- Return a content writer
Properties
$contentIdentificationResolver
protected
ContentIdResolverInterface
$contentIdentificationResolver
$deleter
protected
ContentDeleter
$deleter
$factory
protected
ContentValueObjectFactory
$factory
$identificationFactory
protected
ContentIdentificationFactory
$identificationFactory
$queryBuilder
CodeIgniter QueryBuilder
protected
CI_DB_query_builder
$queryBuilder
$reader
protected
ContentReader
$reader
$readService
protected
ContentReadService
$readService
$repository
Content repository
protected
ContentRepository
$repository
$writer
Content writer
protected
ContentWriter
$writer
$writeService
Content write service
protected
ContentWriteService
$writeService
Methods
__construct()
ContentServiceFactory constructor
public
__construct(CI_DB_query_builder $queryBuilder) : mixed
Parameters
- $queryBuilder : CI_DB_query_builder
-
CodeIgniter QueryBuilder instance
Return values
mixed —createReadService()
public
createReadService() : ContentReadService
Return values
ContentReadService —createWriteService()
Return a content write service
public
createWriteService() : ContentWriteService
Return values
ContentWriteService —deleter()
Create content deleter.
public
deleter() : ContentDeleter
Return values
ContentDeleter —reader()
public
reader() : ContentReader
Return values
ContentReader —contentIdentificationResolver()
protected
contentIdentificationResolver() : ContentIdResolverInterface
Return values
ContentIdResolverInterface —factory()
protected
factory() : ContentValueObjectFactory
Return values
ContentValueObjectFactory —identificationFactory()
protected
identificationFactory() : ContentIdentificationFactoryInterface
Return values
ContentIdentificationFactoryInterface —repository()
Return a content repository
protected
repository() : ContentRepository
Return values
ContentRepository —writer()
Return a content writer
protected
writer() : ContentWriter