src/Graviton/CoreBundle/GravitonCoreBundle.php
public function build(ContainerBuilder $container)
    {
        parent::build($container);

        $container->addCompilerPass(new VersionCompilerPass(new PrettyVersions()));
        $container->addCompilerPass(new EnvParametersCompilerPass());
        $container->addCompilerPass(new RouteLoaderCompilerPass());
        $container->addCompilerPass(new HttpClientOptionsCompilerPass());
    }
public function build(ContainerBuilder $container)
    {
        parent::build($container);

        $container->addCompilerPass(new VersionCompilerPass(new PrettyVersions()));
        $container->addCompilerPass(new EnvParametersCompilerPass());
        $container->addCompilerPass(new RouteLoaderCompilerPass());
        $container->addCompilerPass(new HttpClientOptionsCompilerPass());
    }
public function build ( ContainerBuilder $ container ) { parent :: build ( $ container ) ; $ container -> addCompilerPass ( new VersionCompilerPass ( new PrettyVersions ( ) ) ) ; $ container -> addCompilerPass ( new EnvParametersCompilerPass ( ) ) ; $ container -> addCompilerPass ( new RouteLoaderCompilerPass ( ) ) ; $ container -> addCompilerPass ( new HttpClientOptionsCompilerPass ( ) ) ; }
load version compiler pass

@param ContainerBuilder $container container builder

@return void
load version compiler pass