Skip to content

Instantly share code, notes, and snippets.

@mssoylu
Created February 6, 2021 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mssoylu/120340ff190f6aac35aa0c90c7cbec37 to your computer and use it in GitHub Desktop.
Save mssoylu/120340ff190f6aac35aa0c90c7cbec37 to your computer and use it in GitHub Desktop.
<?
// src/Acme/HelloBundle/DependencyInjection/AcmeHelloExtension.php
namespace Acme\HelloBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\DependencyInjection\ConfigurableExtension;
class AcmeHelloExtension extends ConfigurableExtension
{
// note that this method is called loadInternal and not load
protected function loadInternal(array $mergedConfig, ContainerBuilder $container)
{
// ...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment