1 | <?php |
||
29 | class FSiAdminBundle extends Bundle |
||
30 | { |
||
31 | /** |
||
32 | * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container |
||
33 | */ |
||
34 | public function build(ContainerBuilder $container) |
||
35 | { |
||
36 | parent::build($container); |
||
37 | |||
38 | $container->addCompilerPass(new AdminAnnotatedElementPass( |
||
|
|||
39 | new AnnotationReader(), |
||
40 | new AdminClassFinder() |
||
41 | )); |
||
42 | $container->addCompilerPass(new AdminElementPass(), PassConfig::TYPE_REMOVE); |
||
43 | $container->addCompilerPass(new KnpMenuBuilderPass()); |
||
44 | $container->addCompilerPass(new ResourceRepositoryPass()); |
||
45 | $container->addCompilerPass(new ManagerVisitorPass()); |
||
46 | $container->addCompilerPass(new ContextPass()); |
||
47 | $container->addCompilerPass(new TwigGlobalsPass()); |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * @return \FSi\Bundle\AdminBundle\DependencyInjection\FSIAdminExtension |
||
52 | */ |
||
53 | public function getContainerExtension() |
||
61 | } |
||
62 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.