DependencyInjection/Factory/Loader/StreamLoaderFactory.php 1 location
|
@@ 22-29 (lines=8) @@
|
| 19 |
|
/** |
| 20 |
|
* {@inheritdoc} |
| 21 |
|
*/ |
| 22 |
|
public function create(ContainerBuilder $container, $loaderName, array $config) |
| 23 |
|
{ |
| 24 |
|
$definition = $this->getChildLoaderDefinition(); |
| 25 |
|
$definition->replaceArgument(0, $config['wrapper']); |
| 26 |
|
$definition->replaceArgument(1, $config['context']); |
| 27 |
|
|
| 28 |
|
return $this->setTaggedLoaderDefinition($loaderName, $definition, $container); |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
/** |
| 32 |
|
* {@inheritdoc} |
DependencyInjection/Factory/Loader/FileSystemLoaderFactory.php 1 location
|
@@ 25-32 (lines=8) @@
|
| 22 |
|
/** |
| 23 |
|
* {@inheritdoc} |
| 24 |
|
*/ |
| 25 |
|
public function create(ContainerBuilder $container, $loaderName, array $config) |
| 26 |
|
{ |
| 27 |
|
$definition = $this->getChildLoaderDefinition(); |
| 28 |
|
$definition->replaceArgument(2, $config['data_root']); |
| 29 |
|
$definition->replaceArgument(3, $this->createLocatorReference($config['locator'])); |
| 30 |
|
|
| 31 |
|
return $this->setTaggedLoaderDefinition($loaderName, $definition, $container); |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
/** |
| 35 |
|
* {@inheritdoc} |