DependencyInjection/Factory/Loader/ChainLoaderFactory.php 1 location
|
@@ 23-29 (lines=7) @@
|
| 20 |
|
/** |
| 21 |
|
* {@inheritdoc} |
| 22 |
|
*/ |
| 23 |
|
public function create(ContainerBuilder $container, $loaderName, array $config) |
| 24 |
|
{ |
| 25 |
|
$definition = $this->getChildLoaderDefinition(); |
| 26 |
|
$definition->replaceArgument(0, $this->createLoaderReferences($config['loaders'])); |
| 27 |
|
|
| 28 |
|
return $this->setTaggedLoaderDefinition($loaderName, $definition, $container); |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
/** |
| 32 |
|
* {@inheritdoc} |
DependencyInjection/Factory/Loader/FlysystemLoaderFactory.php 1 location
|
@@ 23-29 (lines=7) @@
|
| 20 |
|
/** |
| 21 |
|
* {@inheritdoc} |
| 22 |
|
*/ |
| 23 |
|
public function create(ContainerBuilder $container, $loaderName, array $config) |
| 24 |
|
{ |
| 25 |
|
$definition = $this->getChildLoaderDefinition(); |
| 26 |
|
$definition->replaceArgument(1, new Reference($config['filesystem_service'])); |
| 27 |
|
|
| 28 |
|
return $this->setTaggedLoaderDefinition($loaderName, $definition, $container); |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
/** |
| 32 |
|
* {@inheritdoc} |