Neos\Flow\Mvc\ActionRequest::__construct PHP Method

__construct() public method

Constructs this action request
public __construct ( ActionRequest | Request $parentRequest )
$parentRequest ActionRequest | Request Either an HTTP request or another ActionRequest
    public function __construct($parentRequest)
    {
        if (!$parentRequest instanceof HttpRequest && !$parentRequest instanceof ActionRequest) {
            throw new \InvalidArgumentException('The parent request passed to ActionRequest::__construct() must be either an HTTP request or another ActionRequest', 1327846149);
        }
        $this->parentRequest = $parentRequest;
    }