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