Class

eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory\MetadataHandler\LegacyDFSCluster

class LegacyDFSCluster implements ConfigurationFactory

Methods

string getParentServiceId()

Returns the ID of the base, abstract service used to create the handlers.

configureHandler(Definition $definition, array $config)

Configure the handler service based on the configuration.

addConfiguration(ArrayNodeDefinition $node)

Adds the handler's semantic configuration.

Details

at line 18
public string getParentServiceId()

Returns the ID of the base, abstract service used to create the handlers.

It will be used as the base name for instances of this handler, and as the parent of the instances' services.

Return Value

string

at line 23
public configureHandler(Definition $definition, array $config)

Configure the handler service based on the configuration.

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.

Parameters

Definition $definition
array $config

at line 28
public addConfiguration(ArrayNodeDefinition $node)

Adds the handler's semantic configuration.

Example: php $node ->info( 'my info' )->example( 'an example' ) ->children() ->scalarNode( 'an_argument' )->info( 'This is an argument' ) ->end();

Parameters

ArrayNodeDefinition $node The handler's configuration node.