File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 7
7
use Knp \Menu \Matcher \Voter \VoterInterface ;
8
8
use Symfony \Component \Config \FileLocator ;
9
9
use Symfony \Component \DependencyInjection \ContainerBuilder ;
10
+ use Symfony \Component \DependencyInjection \Extension \Extension ;
10
11
use Symfony \Component \DependencyInjection \Extension \PrependExtensionInterface ;
11
12
use Symfony \Component \DependencyInjection \Loader \XmlFileLoader ;
12
- use Symfony \Component \HttpKernel \DependencyInjection \Extension ;
13
13
14
14
class KnpMenuExtension extends Extension implements PrependExtensionInterface
15
15
{
16
- /**
17
- * Handles the knp_menu configuration.
18
- *
19
- * @param array $configs The configurations being loaded
20
- */
21
16
public function load (array $ configs , ContainerBuilder $ container ): void
22
17
{
23
18
$ loader = new XmlFileLoader ($ container , new FileLocator (__DIR__ .'/../../config ' ));
@@ -49,17 +44,11 @@ public function load(array $configs, ContainerBuilder $container): void
49
44
->addTag ('knp_menu.factory_extension ' );
50
45
}
51
46
52
- /**
53
- * {@inheritdoc}
54
- */
55
47
public function getNamespace (): string
56
48
{
57
49
return 'http://knplabs.com/schema/dic/menu ' ;
58
50
}
59
51
60
- /**
61
- * {@inheritdoc}
62
- */
63
52
public function getXsdValidationBasePath (): string
64
53
{
65
54
return __DIR__ .'/../Resources/config/schema ' ;
You can’t perform that action at this time.
0 commit comments