Backend\Core\Engine\Action::__construct PHP Метод

__construct() публичный Метод

You have to specify the action and module so we know what to do with this instance
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface
    public function __construct(KernelInterface $kernel)
    {
        parent::__construct($kernel);
        // grab stuff from the reference and store them in this object (for later/easy use)
        $this->tpl = $this->getContainer()->get('template');
    }