public function RequestTree::getRequests in Subrequests 8
Gets a flat list of the initialized requests for the current level.
All requests returned by this method can run in parallel. If a request has children requests depending on it (sequential) the parent request will contain a RequestTree itself.
Return value
\Symfony\Component\HttpFoundation\Request[] The list of requests.
4 calls to RequestTree::getRequests()
- RequestTree::dereference in src/
Blueprint/ RequestTree.php - Resolves the JSON Pointer references.
- RequestTree::getDescendant in src/
Blueprint/ RequestTree.php - Find a request in a tree based on the request ID.
- RequestTree::getSubTrees in src/
Blueprint/ RequestTree.php - Find all the sub-trees in this tree.
- RequestTree::isDone in src/
Blueprint/ RequestTree.php - Is the request tree done?
File
- src/
Blueprint/ RequestTree.php, line 55
Class
- RequestTree
- Contains the hierarchical information of the requests.
Namespace
Drupal\subrequests\BlueprintCode
public function getRequests() {
return $this->requests;
}