Frontend\Core\Engine\AjaxAction::__construct PHP Method

__construct() public method

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();
    }