PHP Class GetOptionKit\OptionPrinter\ConsoleOptionPrinter

Inheritance: implements GetOptionKit\OptionPrinter\OptionPrinter
Mostra file Open project: c9s/getoptionkit Class Usage Examples

Public Properties

Property Type Description
$screenWidth

Public Methods

Method Description
render ( OptionCollection $options ) : string render option descriptions.
renderOption ( Option $opt ) Render readable spec.

Method Details

render() public method

render option descriptions.
public render ( OptionCollection $options ) : string
$options GetOptionKit\OptionCollection
return string output

renderOption() public method

Render readable spec.
public renderOption ( Option $opt )
$opt GetOptionKit\Option

Property Details

$screenWidth public_oe property

public $screenWidth