PHP Класс lithium\tests\mocks\console\command\MockCommandHelp

Наследование: extends lithium\console\Command
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$blong boolean This is a boolean long param.
$long string This is a long param.
$s boolean This is a short param.

Защищенные свойства (Protected)

Свойство Тип Описание
$_classes array Don't show this.

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
_sampleHelper ( ) : void Don't show in the help

Описание методов

_sampleHelper() защищенный Метод

Don't show in the help
protected _sampleHelper ( ) : void
Результат void

run() публичный Метод

This is the run command so don't show it.
public run ( ) : boolean
Результат boolean

sampleTaskWithOptionalArgs() публичный Метод

This is a task with optional args.
public sampleTaskWithOptionalArgs ( string $arg1 = null, string $arg2 = null ) : boolean
$arg1 string
$arg2 string
Результат boolean

sampleTaskWithRequiredArgs() публичный Метод

This is a task with required args.
public sampleTaskWithRequiredArgs ( string $arg1, string $arg2 ) : boolean
$arg1 string
$arg2 string
Результат boolean

Описание свойств

$_classes защищенное свойство

Don't show this.
protected array $_classes
Результат array

$blong публичное свойство

This is a boolean long param.
public bool $blong
Результат boolean

$long публичное свойство

This is a long param.
public string $long
Результат string

$s публичное свойство

This is a short param.
public bool $s
Результат boolean