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

        $container->addCompilerPass(new RestServicesCompilerPass);
        $container->addCompilerPass(new RqlQueryRoutesCompilerPass());
    }
public function build(ContainerBuilder $container)
    {
        parent::build($container);

        $container->addCompilerPass(new RestServicesCompilerPass);
        $container->addCompilerPass(new RqlQueryRoutesCompilerPass());
    }
public function build ( ContainerBuilder $ container ) { parent :: build ( $ container ) ; $ container -> addCompilerPass ( new RestServicesCompilerPass ) ; $ container -> addCompilerPass ( new RqlQueryRoutesCompilerPass ( ) ) ; }
load compiler pass rest route loader

@param ContainerBuilder $container container builder

@return void
load compiler pass rest route loader