Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

EzPlatformBehatExtension.php
Go to the documentation of this file.
1 <?php
2
7 namespace EzSystems\PlatformBehatBundle\DependencyInjection;
8
9 use Symfony\Component\Config\FileLocator;
10 use Symfony\Component\DependencyInjection\ContainerBuilder;
11 use Symfony\Component\HttpKernel\DependencyInjection\Extension;
12 use Symfony\Component\DependencyInjection\Loader;
13
14 class EzPlatformBehatExtension extends Extension
15 {
16 public function load(array $config, ContainerBuilder $container)
17 {
18 $loader = new Loader\YamlFileLoader(
19 $container,
20 new FileLocator(__DIR__ . '/../Resources/config')
21 );
22
23 $loader->load('services.yml');
24 }
25 }
EzSystems\PlatformBehatBundle\DependencyInjection\EzPlatformBehatExtension
Definition: EzPlatformBehatExtension.php:15
EzSystems\PlatformBehatBundle\DependencyInjection\EzPlatformBehatExtension\load
load(array $config, ContainerBuilder $container)
Definition: EzPlatformBehatExtension.php:16
$loader
$loader
Definition: containerBuilder.php:25
EzSystems\PlatformBehatBundle\DependencyInjection
Definition: EzPlatformBehatExtension.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.