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
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 0 사용 예제들

공개 메소드들

메소드 설명
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