src/Config.php
protected function getConfigTree(): array
    {
        $tree = [$this->getConfig()];
        $parent = $this->container;
        while ($parent = $parent->getParent()) {
            $tree[] = $parent->getConfig()->getConfig();
        }

        return $tree;
    }
protected function getConfigTree(): array
    {
        $tree = [$this->getConfig()];
        $parent = $this->container;
        while ($parent = $parent->getParent()) {
            $tree[] = $parent->getConfig()->getConfig();
        }

        return $tree;
    }
protected function getConfigTree ( ) : array { $ tree = [ $ this -> getConfig ( ) ] ; $ parent = $ this -> container ; while ( $ parent = $ parent -> getParent ( ) ) { $ tree [ ] = $ parent -> getConfig ( ) -> getConfig ( ) ; } return $ tree ; }
Get config tree.
Get config tree .