PHP Class Laracasts\Behat\Context\KernelAwareInitializer

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface, implements Behat\Behat\Context\Initializer\ContextInitializer
Exibir arquivo Open project: laracasts/behat-laravel-extension

Public Methods

Method Description
__construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel ) Construct the initializer.
getSubscribedEvents ( )
initializeContext ( Behat\Behat\Context\Context $context )
rebootKernel ( ) After each scenario, reboot the kernel.

Private Methods

Method Description
setAppOnContext ( ) Set the app kernel to the feature context.

Method Details

__construct() public method

Construct the initializer.
public __construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\HttpKernelInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

initializeContext() public method

public initializeContext ( Behat\Behat\Context\Context $context )
$context Behat\Behat\Context\Context

rebootKernel() public method

After each scenario, reboot the kernel.
public rebootKernel ( )