protected function prepareMethods(array $methods)
    {
        // My kingdom for a generator.
        $ret = [];

        foreach ($methods as $name => $method) {
            if ($this->showItem($name)) {
                $ret[$name] = [
                    'name'  => $name,
                    'style' => $this->getVisibilityStyle($method),
                    'value' => $this->presentSignature($method),
                ];
            }
        }

        return $ret;
    }
protected function prepareMethods(array $methods)
    {
        // My kingdom for a generator.
        $ret = [];

        foreach ($methods as $name => $method) {
            if ($this->showItem($name)) {
                $ret[$name] = [
                    'name'  => $name,
                    'style' => $this->getVisibilityStyle($method),
                    'value' => $this->presentSignature($method),
                ];
            }
        }

        return $ret;
    }
protected function prepareMethods ( array $ methods ) { // My kingdom for a generator. $ ret = [ ] ; foreach ( $ methods as $ name => $ method ) { if ( $ this -> showItem ( $ name ) ) { $ ret [ $ name ] = [ 'name' => $ name , 'style' => $ this -> getVisibilityStyle ( $ method ) , 'value' => $ this -> presentSignature ( $ method ) , ] ; } } return $ ret ; }
Prepare formatted method array.

@param array $methods

@return array
Prepare formatted method array .