Skip to content

Commit 88ab255

Browse files
author
Mario Blazek
committed
Removed prepend method from Extension
1 parent 79f1796 commit 88ab255

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

DependencyInjection/NetgenEnhancedBinaryFileExtension.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,4 @@ public function load( array $configs, ContainerBuilder $container )
2626
$loader->load( 'mime.yml' );
2727

2828
}
29-
30-
/**
31-
* Allow an extension to prepend the extension configurations.
32-
*
33-
* @param \Symfony\Component\DependencyInjection\ContainerBuilder $container
34-
*/
35-
public function prepend( ContainerBuilder $container )
36-
{
37-
$configFile = __DIR__ . '/../Resources/config/ezpublish.yml';
38-
$config = Yaml::parse( file_get_contents( $configFile ) );
39-
$container->prependExtensionConfig( 'ezpublish', $config );
40-
$container->addResource( new FileResource( $configFile ) );
41-
}
4229
}

0 commit comments

Comments
 (0)