eZPublishCommunityProject  2013.6
eZ\Publish\Core\Persistence\Factory Class Reference

A reusable factory for all the "storage engine" handlers. More...

Public Member Functions

 __construct (ContainerInterface $container, $persistenceId)
 
 getContentHandler ()
 
 getContentLanguageHandler ()
 
 getContentTypeHandler ()
 
 getLocationHandler ()
 
 getObjectStateHandler ()
 
 getPersistenceHandler ()
 
 getSearchHandler ()
 
 getSectionHandler ()
 
 getTrashHandler ()
 
 getUrlAliasHandler ()
 
 getUrlWildcardHandler ()
 
 getUserHandler ()
 

Private Attributes

 $container
 
 $persistenceId
 

Detailed Description

A reusable factory for all the "storage engine" handlers.

This class is kept in Core as it is a temporary one until Legacy and InMemory is refactored to provide all handlers as decoupled services.

Tests? See Cache\Tests\FactoryTests.php

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Factory::__construct ( ContainerInterface  $container,
  $persistenceId 
)
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$container
string$persistenceId

Member Function Documentation

eZ\Publish\Core\Persistence\Factory::getContentHandler ( )
Returns
eZ\Publish\Core\Persistence\Factory::getContentLanguageHandler ( )
Returns
eZ\Publish\Core\Persistence\Factory::getContentTypeHandler ( )
Returns
eZ\Publish\Core\Persistence\Factory::getLocationHandler ( )
Returns
eZ\Publish\Core\Persistence\Factory::getObjectStateHandler ( )
Returns
eZ\Publish\Core\Persistence\Factory::getSearchHandler ( )
Returns
eZ\Publish\Core\Persistence\Factory::getSectionHandler ( )
Returns
eZ\Publish\Core\Persistence\Factory::getTrashHandler ( )
Returns
eZ\Publish\Core\Persistence\Factory::getUrlAliasHandler ( )
Returns
eZ\Publish\Core\Persistence\Factory::getUrlWildcardHandler ( )
Returns
eZ\Publish\Core\Persistence\Factory::getUserHandler ( )
Returns

Member Data Documentation

eZ\Publish\Core\Persistence\Factory::$container
private
eZ\Publish\Core\Persistence\Factory::$persistenceId
private

The documentation for this class was generated from the following file: