Class

eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory\Flysystem

abstract class Flysystem implements ConfigurationFactory, ContainerAwareInterface

Configuration factory for the flysystem metadata and binarydata handlers.

Binarydata & metadata are identical, except for the parent service.

Methods

addConfiguration(ArrayNodeDefinition $node)

Adds the handler's semantic configuration.

configureHandler(Definition $definition, array $config)

Configure the handler service based on the configuration.

Details

at line 30
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.

at line 49
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