Elcodi\Bridge\BehatBridgeBundle\Abstracts\AbstractElcodiContext::setKernel PHP Method

setKernel() public method

Sets Kernel instance.
public setKernel ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface
    public function setKernel(KernelInterface $kernel)
    {
        $this->kernel = $kernel;
        $this->application = new Application($this->kernel);
        $this->application->setAutoExit(false);
    }