Frontend\Core\Engine\AjaxAction::__construct PHP Метод

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

public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, string $action, string $module )
$kernel Symfony\Component\HttpKernel\KernelInterface
$action string The action that should be executed.
$module string The module that wherein the action is available.
    public function __construct(KernelInterface $kernel, $action, $module)
    {
        parent::__construct($kernel, $action, $module);
        // set properties
        $this->setModule($module);
        $this->setAction($action);
        // load the config file for the required module
        $this->loadConfig();
    }