protected function prepareFunctions(array $functions)
    {
        \natcasesort($functions);

        // My kingdom for a generator.
        $ret = [];

        foreach ($functions as $name) {
            if ($this->showItem($name)) {
                $ret[$name] = [
                    'name'  => $name,
                    'style' => self::IS_FUNCTION,
                    'value' => $this->presentSignature($name),
                ];
            }
        }

        return $ret;
    }
protected function prepareFunctions(array $functions)
    {
        \natcasesort($functions);

        // My kingdom for a generator.
        $ret = [];

        foreach ($functions as $name) {
            if ($this->showItem($name)) {
                $ret[$name] = [
                    'name'  => $name,
                    'style' => self::IS_FUNCTION,
                    'value' => $this->presentSignature($name),
                ];
            }
        }

        return $ret;
    }
protected function prepareFunctions ( array $ functions ) { \ natcasesort ( $ functions ) ; // My kingdom for a generator. $ ret = [ ] ; foreach ( $ functions as $ name ) { if ( $ this -> showItem ( $ name ) ) { $ ret [ $ name ] = [ 'name' => $ name , 'style' => self :: IS_FUNCTION , 'value' => $ this -> presentSignature ( $ name ) , ] ; } } return $ ret ; }
Prepare formatted function array.

@param array $functions

@return array
Prepare formatted function array .