final protected function getLegacyKernel()
    {
        if (!isset($this->legacyKernelClosure)) {
            $this->legacyKernelClosure = $this->get('ezpublish_legacy.kernel');
        }

        $legacyKernelClosure = $this->legacyKernelClosure;

        return $legacyKernelClosure();
    }
final protected function getLegacyKernel()
    {
        if (!isset($this->legacyKernelClosure)) {
            $this->legacyKernelClosure = $this->get('ezpublish_legacy.kernel');
        }

        $legacyKernelClosure = $this->legacyKernelClosure;

        return $legacyKernelClosure();
    }
final protected function getLegacyKernel ( ) { if ( ! isset ( $ this -> legacyKernelClosure ) ) { $ this -> legacyKernelClosure = $ this -> get ( 'ezpublish_legacy.kernel' ) ; } $ legacyKernelClosure = $ this -> legacyKernelClosure ; return $ legacyKernelClosure ( ) ; }
Returns the legacy kernel object.

@return \eZ\Publish\Core\MVC\Legacy\Kernel
Returns the legacy kernel object .