PHP Class spec\Laracasts\Behat\Context\KernelAwareInitializerSpec

Inheritance: extends PhpSpec\ObjectBehavior
ファイルを表示 Open project: laracasts/behat-laravel-extension

Public Methods

Method Description
it_does_nothing_if_the_context_is_not_kernel_aware ( Behat\Behat\Context\Context $context, $kernel )
it_is_a_context_initializer ( )
it_is_an_event_subscriber ( )
it_sets_the_kernel_on_the_context_if_its_kernel_aware ( Laracasts\Behat\Context\KernelAwareContext $context, Symfony\Component\HttpKernel\HttpKernelInterface $kernel )
it_subscribes_to_a_number_of_events ( )
let ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel )

Method Details

it_does_nothing_if_the_context_is_not_kernel_aware() public method

public it_does_nothing_if_the_context_is_not_kernel_aware ( Behat\Behat\Context\Context $context, $kernel )
$context Behat\Behat\Context\Context

it_is_a_context_initializer() public method

it_is_an_event_subscriber() public method

it_sets_the_kernel_on_the_context_if_its_kernel_aware() public method

public it_sets_the_kernel_on_the_context_if_its_kernel_aware ( Laracasts\Behat\Context\KernelAwareContext $context, Symfony\Component\HttpKernel\HttpKernelInterface $kernel )
$context Laracasts\Behat\Context\KernelAwareContext
$kernel Symfony\Component\HttpKernel\HttpKernelInterface

it_subscribes_to_a_number_of_events() public method

let() public method

public let ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\HttpKernelInterface