Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (28 sloc) 848 Bytes
<?php
/*
* This file is part of the Behat MinkBundle
*
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Behat\MinkBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Behat\MinkBundle\DependencyInjection\Compiler\SessionsPass;
use Behat\MinkBundle\DependencyInjection\Compiler\SelectorsHandlerPass;
/**
* MinkBundle.
*
* @author Konstantin Kudryashov <ever.zet@gmail.com>
*/
class MinkBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new SessionsPass());
$container->addCompilerPass(new SelectorsHandlerPass());
}
}
Something went wrong with that request. Please try again.