Kahlan\Reporter\Coverage\Metrics::children PHP Метод

children() публичный Метод

Gets the children of the current metrics.
public children ( string $name = null ) : array
$name string The name reference of the metrics.
Результат array The metrics children.
    public function children($name = null)
    {
        $child = $this->get($name);
        if (!$child) {
            return [];
        }
        return $child->_children;
    }