Contao\Ajax::__construct PHP Метод

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

Get the current action
public __construct ( string $strAction )
$strAction string
    public function __construct($strAction)
    {
        if ($strAction == '') {
            throw new \Exception('Missing Ajax action');
        }
        $this->strAction = $strAction;
        parent::__construct();
    }