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

Inheritance: extends lithium\console\Command
Afficher le fichier Open project: unionofrad/lithium Class Usage Examples

Méthodes publiques

Свойство 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

Свойство Type Description
$_classes array Don't show this.

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
_sampleHelper ( ) : void Don't show in the help

Method Details

_sampleHelper() protected méthode

Don't show in the help
protected _sampleHelper ( ) : void
Résultat void

run() public méthode

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

sampleTaskWithOptionalArgs() public méthode

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

sampleTaskWithRequiredArgs() public méthode

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

Property Details

$_classes protected_oe property

Don't show this.
protected array $_classes
Résultat array

$blong public_oe property

This is a boolean long param.
public bool $blong
Résultat boolean

$long public_oe property

This is a long param.
public string $long
Résultat string

$s public_oe property

This is a short param.
public bool $s
Résultat boolean