protected function getConsolidatedMethods()
        {
            if ($this->consolidatedMethods !== null) {
                return $this->consolidatedMethods;
            }

            $methods = $this->methods;

            if ($this->parent) {
                $methods += $this->parent->getConsolidatedMethods();
            }

            return $this->consolidatedMethods = $methods;
        }
protected function getConsolidatedMethods()
        {
            if ($this->consolidatedMethods !== null) {
                return $this->consolidatedMethods;
            }

            $methods = $this->methods;

            if ($this->parent) {
                $methods += $this->parent->getConsolidatedMethods();
            }

            return $this->consolidatedMethods = $methods;
        }
protected function getConsolidatedMethods ( ) { if ( $ this -> consolidatedMethods !== null ) { return $ this -> consolidatedMethods ; } $ methods = $ this -> methods ; if ( $ this -> parent ) { $ methods += $ this -> parent -> getConsolidatedMethods ( ) ; } return $ this -> consolidatedMethods = $ methods ; }
Consolidate the methods of the prototype.

The method creates a single array from the prototype methods and those of its parents.

@return array[string]callable
Consolidate the methods of the prototype .