You are here

public function RequestTree::__construct in Subrequests 8

RequestTree constructor.

Parameters

\Symfony\Component\HttpFoundation\Request[] $requests:

string $parent_id:

File

src/Blueprint/RequestTree.php, line 40

Class

RequestTree
Contains the hierarchical information of the requests.

Namespace

Drupal\subrequests\Blueprint

Code

public function __construct(array $requests, $parent_id = NULL) {
  $this->requests = $requests;
  $this->parentId = $parent_id;
}