PHP Class lithium\tests\mocks\console\command\MockCommandHelp

Inheritance: extends lithium\console\Command
Datei anzeigen Open project: unionofrad/lithium Class Usage Examples

Public Properties

Property Type Description
$blong boolean This is a boolean long param.
$long string This is a long param.
$s boolean This is a short param.

Protected Properties

Property Type Description
$_classes array Don't show this.

Public Methods

Method Description
run ( ) : boolean This is the run command so don't show it.
sampleTaskWithOptionalArgs ( string $arg1 = null, string $arg2 = null ) : boolean This is a task with optional args.
sampleTaskWithRequiredArgs ( string $arg1, string $arg2 ) : boolean This is a task with required args.

Protected Methods

Method Description
_sampleHelper ( ) : void Don't show in the help

Method Details

_sampleHelper() protected method

Don't show in the help
protected _sampleHelper ( ) : void
return void

run() public method

This is the run command so don't show it.
public run ( ) : boolean
return boolean

sampleTaskWithOptionalArgs() public method

This is a task with optional args.
public sampleTaskWithOptionalArgs ( string $arg1 = null, string $arg2 = null ) : boolean
$arg1 string
$arg2 string
return boolean

sampleTaskWithRequiredArgs() public method

This is a task with required args.
public sampleTaskWithRequiredArgs ( string $arg1, string $arg2 ) : boolean
$arg1 string
$arg2 string
return boolean

Property Details

$_classes protected_oe property

Don't show this.
protected array $_classes
return array

$blong public_oe property

This is a boolean long param.
public bool $blong
return boolean

$long public_oe property

This is a long param.
public string $long
return string

$s public_oe property

This is a short param.
public bool $s
return boolean