ContentServiceFactory

Implements \ContentServiceFactoryInterface

Class ContentServiceFactory

This class represents a factory for content services

category

System

package

Content

Methods

ContentServiceFactory constructor

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

CodeIgniter QueryBuilder instance

createReadService

createReadService() : \ContentReadService

Return a content write service

createWriteService() : \ContentWriteService

Create content deleter.

deleter() : \ContentDeleter

Response

\ContentDeleter

factory

factory() : \ContentValueObjectFactory

reader

reader() : \ContentReader

Response

\ContentReader

Return a content repository

repository() : \ContentRepository

Return a content writer

writer() : \ContentWriter

Response

\ContentWriter

Properties

CodeIgniter QueryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

Content repository

repository : \ContentRepository
var

Type(s)

\ContentRepository

Content write service

writeService : \ContentWriteService
var

Type(s)

\ContentWriteService

readService

readService : \ContentReadService
var

Type(s)

\ContentReadService

Content writer

writer : \ContentWriter
var

Type(s)

\ContentWriter

reader

reader : \ContentReader
var

Type(s)

\ContentReader

deleter

deleter : \ContentDeleter
var

Type(s)

\ContentDeleter

factory

factory : \ContentValueObjectFactory