You are here

public function SubrequestsTree::setMasterRequest in Subrequests 8.2

Same name and namespace in other branches
  1. 3.x src/SubrequestsTree.php \Drupal\subrequests\SubrequestsTree::setMasterRequest()

Sets the master request.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The request.

File

src/SubrequestsTree.php, line 66

Class

SubrequestsTree
Value class that holds the execution tree.

Namespace

Drupal\subrequests

Code

public function setMasterRequest(Request $request) {
  $this->masterRequest = $request;
}