/** * Render all items description. * * @return string * * @since 1.0 */ public function render() { // Count the max command length as column width. foreach ($this->items as $item) { /** @var $item AbstractCommand */ $length = strlen($item->getName()); if ($length > $this->maxLength) { $this->maxLength = $length; } } return parent::render(); }
/** * Render all items description. * * @return string * * @since 1.0 */ public function render() { return parent::render(); }