PHP 클래스 eZ\Publish\Core\Base\Container\ApiLoader\RepositoryFactory

상속: implements Symfony\Component\DependencyInjection\ContainerAwareInterface, use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$fieldTypeCollectionFactory FieldTypeCollectionFactory Collection of fieldTypes, lazy loaded via a closure.
$fieldTypeNameableCollectionFactory FieldTypeNameableCollectionFactory Collection of fieldTypes, lazy loaded via a closure.
$roleLimitations eZ\Publish\SPI\Limitation\Type[] Collection of limitation types for the RoleService.

공개 메소드들

메소드 설명
__construct ( $repositoryClass, FieldTypeCollectionFactory $fieldTypeCollectionFactory, FieldTypeNameableCollectionFactory $fieldTypeNameableCollectionFactory )
buildRepository ( eZ\Publish\SPI\Persistence\Handler $persistenceHandler, eZ\Publish\SPI\Search\Handler $searchHandler ) : eZ\Publish\API\Repository\Repository Builds the main repository, heart of eZ Publish API.
buildService ( eZ\Publish\API\Repository\Repository $repository, string $serviceName ) : mixed Returns a service based on a name string (content => contentService, etc).
registerLimitationType ( string $limitationName, eZ\Publish\SPI\Limitation\Type $limitationType ) Registers a limitation type for the RoleService.

메소드 상세

__construct() 공개 메소드

public __construct ( $repositoryClass, FieldTypeCollectionFactory $fieldTypeCollectionFactory, FieldTypeNameableCollectionFactory $fieldTypeNameableCollectionFactory )
$fieldTypeCollectionFactory FieldTypeCollectionFactory
$fieldTypeNameableCollectionFactory FieldTypeNameableCollectionFactory

buildRepository() 공개 메소드

This always returns the true inner Repository, please depend on ezpublish.api.repository and not this method directly to make sure you get an instance wrapped inside Signal / Cache / * functionality.
public buildRepository ( eZ\Publish\SPI\Persistence\Handler $persistenceHandler, eZ\Publish\SPI\Search\Handler $searchHandler ) : eZ\Publish\API\Repository\Repository
$persistenceHandler eZ\Publish\SPI\Persistence\Handler
$searchHandler eZ\Publish\SPI\Search\Handler
리턴 eZ\Publish\API\Repository\Repository

buildService() 공개 메소드

Returns a service based on a name string (content => contentService, etc).
public buildService ( eZ\Publish\API\Repository\Repository $repository, string $serviceName ) : mixed
$repository eZ\Publish\API\Repository\Repository
$serviceName string
리턴 mixed

registerLimitationType() 공개 메소드

Registers a limitation type for the RoleService.
public registerLimitationType ( string $limitationName, eZ\Publish\SPI\Limitation\Type $limitationType )
$limitationName string
$limitationType eZ\Publish\SPI\Limitation\Type

프로퍼티 상세

$fieldTypeCollectionFactory 보호되어 있는 프로퍼티

Collection of fieldTypes, lazy loaded via a closure.
protected FieldTypeCollectionFactory,eZ\Publish\Core\Base\Container\ApiLoader $fieldTypeCollectionFactory
리턴 FieldTypeCollectionFactory

$fieldTypeNameableCollectionFactory 보호되어 있는 프로퍼티

Collection of fieldTypes, lazy loaded via a closure.
protected FieldTypeNameableCollectionFactory,eZ\Publish\Core\Base\Container\ApiLoader $fieldTypeNameableCollectionFactory
리턴 FieldTypeNameableCollectionFactory

$roleLimitations 보호되어 있는 프로퍼티

Collection of limitation types for the RoleService.
protected Type[],eZ\Publish\SPI\Limitation $roleLimitations
리턴 eZ\Publish\SPI\Limitation\Type[]