PHP Interface Laracasts\Behat\Context\KernelAwareContext

Inheritance: extends Behat\Behat\Context\Context
Show file Open project: laracasts/behat-laravel-extension Interface Usage Examples

Public Methods

Method Description
getSession ( string | null $name = null ) : mixed Returns the specified session or active session
setApp ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel ) : mixed Set the kernel instance on the context.

Method Details

getSession() public method

Returns the specified session or active session
public getSession ( string | null $name = null ) : mixed
$name string | null name of the session
return mixed

setApp() public method

Set the kernel instance on the context.
public setApp ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel ) : mixed
$kernel Symfony\Component\HttpKernel\HttpKernelInterface
return mixed