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