PHP Интерфейс eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory

Required to: - register an io handler - add custom semantic configuration below ez_io.xxx_handler.. - customize the custom handler services, and initialize extra services definitions
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
addConfiguration ( ArrayNodeDefinition $node ) Adds the handler's semantic configuration.
configureHandler ( Definition $serviceDefinition, array $config ) Configure the handler service based on the configuration.
getParentServiceId ( ) : string Returns the ID of the base, abstract service used to create the handlers.

Описание методов

addConfiguration() публичный метод

Example: php $node ->info( 'my info' )->example( 'an example' ) ->children() ->scalarNode( 'an_argument' )->info( 'This is an argument' ) ->end();
public addConfiguration ( ArrayNodeDefinition $node )
$node Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition The handler's configuration node.

configureHandler() публичный метод

Arguments or calls can be added to the $serviceDefinition, extra services or parameters can be added to the container. Note: if the factory implements ContainerAwareInterface, the ContainerBuilder will be made available as $this->container.
public configureHandler ( Definition $serviceDefinition, array $config )
$serviceDefinition Symfony\Component\DependencyInjection\Definition
$config array

getParentServiceId() публичный метод

It will be used as the base name for instances of this handler, and as the parent of the instances' services.
public getParentServiceId ( ) : string
Результат string