public function SubrequestsTree::getLowestLevel in Subrequests 8.2
Same name and namespace in other branches
- 3.x src/SubrequestsTree.php \Drupal\subrequests\SubrequestsTree::getLowestLevel()
Gets the lowest level.
Return value
\Drupal\subrequests\Subrequest[] The subrequests in the level.
File
- src/
SubrequestsTree.php, line 46
Class
- SubrequestsTree
- Value class that holds the execution tree.
Namespace
Drupal\subrequestsCode
public function getLowestLevel() {
return $this
->offsetGet($this
->count() - 1);
}