src/Execution.php
public function findChildExecutions(Node $node = null)
    {
        if ($node === null) {
            return $this->childExecutions;
        }
        
        return array_filter($this->childExecutions, function (Execution $execution) use ($node) {
            return $execution->getNode() === $node;
        });
    }
public function findChildExecutions(Node $node = null)
    {
        if ($node === null) {
            return $this->childExecutions;
        }
        
        return array_filter($this->childExecutions, function (Execution $execution) use ($node) {
            return $execution->getNode() === $node;
        });
    }
Find all child executions.

@param Node $node Optional filter, return only executions that have arrived at the given node.
@return array<Execution> All matching child executions.