\Inhere\Console\Examples\CommandDemoCommand

Class DemoCommand

Summary

Methods
Properties
Constants
execute()
No public properties found
No constants found
showHelp()
configure()
$name
$description
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : 

Type

$description

$description : 

Type

Methods

execute()

execute(\Inhere\Console\IO\Input  $input, \Inhere\Console\IO\Output  $output) : integer|void

description text by annotation. it is invalid when configure() is exists

Parameters

\Inhere\Console\IO\Input $input
\Inhere\Console\IO\Output $output

Returns

integer|void

showHelp()

showHelp() : boolean

Show help information

Throws

\ReflectionException

Returns

boolean

configure()

configure() 

{@inheritDoc}

Throws

\LogicException