protected function toArrayTree()
    {
        $classname = $this->getDottedClassname();
        $lastLevel = $this->buildLevel($classname);
        
        foreach ($this->getMethods() as $method) {
            $lastLevel[$method->getName()] = $method->toArray();
        }
        
        return $this->methods;
    }
protected function toArrayTree()
    {
        $classname = $this->getDottedClassname();
        $lastLevel = $this->buildLevel($classname);
        
        foreach ($this->getMethods() as $method) {
            $lastLevel[$method->getName()] = $method->toArray();
        }
        
        return $this->methods;
    }
protected function toArrayTree ( ) { $ classname = $ this -> getDottedClassname ( ) ; $ lastLevel = $ this -> buildLevel ( $ classname ) ; foreach ( $ this -> getMethods ( ) as $ method ) { $ lastLevel [ $ method -> getName ( ) ] = $ method -> toArray ( ) ; } return $ this -> methods ; }
Return a tree representation of the methods of the reflected class.

@todo This method is still in development.
@return array
Return a tree representation of the methods of the reflected class .