PHP Trait Sulu\Bundle\PersistenceBundle\DependencyInjection\PersistenceExtensionTrait

ファイルを表示 Open project: sulu/sulu

Protected Methods

Method Description
configurePersistence ( array $objects, ContainerBuilder $container )

Private Methods

Method Description
defineRepositories ( array $objects, ContainerBuilder $container ) Define repositories.
getClassMetadataDefinition ( mixed $model ) : Definition
getContainerKey ( string $key, string $object, string | null $suffix = null ) : string Get container key.
getEntityManagerServiceKey ( ) : string Get the entity manager.
getRepositoryDefinition ( string $object, array $services, ContainerBuilder $container ) : Definition Get the repository service definition.
remapObjectParameters ( array $objects, ContainerBuilder $container ) Remap object parameters.

Method Details

configurePersistence() protected method

protected configurePersistence ( array $objects, ContainerBuilder $container )
$objects array
$container Symfony\Component\DependencyInjection\ContainerBuilder