protected function renderCommand(BlockLayout $layout, Command $command)
    {
        $description = $command->getConfig()->getDescription();
        $name = '<c1>'.$command->getName().'</c1>';

        $layout->add(new LabeledParagraph($name, $description));
    }
protected function renderCommand(BlockLayout $layout, Command $command)
    {
        $description = $command->getConfig()->getDescription();
        $name = '<c1>'.$command->getName().'</c1>';

        $layout->add(new LabeledParagraph($name, $description));
    }
protected function renderCommand ( BlockLayout $ layout , Command $ command ) { $ description = $ command -> getConfig ( ) -> getDescription ( ) ; $ name = '<c1>' . $ command -> getName ( ) . '</c1>' ; $ layout -> add ( new LabeledParagraph ( $ name , $ description ) ) ; }
Renders a command in the "Commands" section.

@param BlockLayout $layout  The layout.
@param Command     $command The command to describe.
Renders a command in the Commands section .