Symfony\Bundle\FrameworkBundle\Client::getKernel PHP Method

getKernel() public method

Returns the kernel.
public getKernel ( ) : Symfony\Component\HttpKernel\HttpKernelInterface
return Symfony\Component\HttpKernel\HttpKernelInterface
    public function getKernel()
    {
        return $this->kernel;
    }

Usage Example

Example #1
0
 protected function runCommand($command)
 {
     $command = sprintf('%s --quiet', $command);
     $application = new Application($this->client->getKernel());
     $application->setAutoExit(false);
     return $application->run(new StringInput($command));
 }
All Usage Examples Of Symfony\Bundle\FrameworkBundle\Client::getKernel