class TextCommandDescriptor extends AbstractDescriptor (View source)

Class TextCommandDescriptor

Properties

array $items Waiting described items. from AbstractDescriptor

Methods

addItem(mixed $item)

Add a item to describe.

string
render()

Render all items description.

Details

DescriptorInterface addItem(mixed $item)

Add a item to describe.

Parameters

mixed $item The item you want to describe.

Return Value

DescriptorInterface Return this object to support chaining.

at line line 99
string render()

Render all items description.

Return Value

string Rendered result.