lithium\console\command\Help::_render PHP Метод

_render() защищенный Метод

Output the formatted properties or methods.
См. также: lithium\console\command\Help::_properties()
См. также: lithium\console\command\Help::_methods()
protected _render ( array $params ) : void
$params array From `_properties()` or `_methods()`.
Результат void
    protected function _render($params)
    {
        foreach ($params as $name => $param) {
            if ($name === 'run' || empty($param['name'])) {
                continue;
            }
            $usage = !empty($param['usage']) ? trim($param['usage'], ' []') : $param['name'];
            $this->out($this->_pad($usage), 'option');
            if ($param['description']) {
                $this->out($this->_pad($param['description'], 2));
            }
            $this->nl();
        }
    }