public function build(ContainerBuilder $container) { $container->addCompilerPass(new GlobalVariableCompilerPass()); $this->registerFormMapping(); }