PHP Class Laracasts\Behat\Context\KernelAwareInitializer

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

Méthodes publiques

Méthode 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

Méthode Description
setAppOnContext ( ) Set the app kernel to the feature context.

Method Details

__construct() public méthode

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

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )

initializeContext() public méthode

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

rebootKernel() public méthode

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