Command
Table of Contents
$instance | ||
---|---|---|
$stdin | ||
_ask() | mixed | |
_say() | mixed | |
_clean() | mixed | |
_error() | mixed | |
_confirm() | mixed | |
_getStdin() | mixed | |
_colorize() | mixed | |
__construct() | mixed | |
__destruct() | mixed | |
__callStatic() | mixed | |
__call() | mixed |
Properties
$instance
private
static mixed
$instance
$stdin
private
static mixed
$stdin
Methods
_ask()
public
_ask(
$question :
mixed
[, $status :
mixed
= 'WARNING' ]
)
: mixed
Parameters
- $question : mixed
- $status : mixed = 'WARNING'
Return values
mixed_say()
public
_say(
$text :
mixed
[, $status :
mixed
= 'NOTE' ]
)
: mixed
Parameters
- $text : mixed
- $status : mixed = 'NOTE'
Return values
mixed_clean()
public
_clean(
$input :
mixed
)
: mixed
Parameters
- $input : mixed
Return values
mixed_error()
public
_error(
[ $message :
mixed
= null ]
)
: mixed
Parameters
- $message : mixed = null
Return values
mixed_confirm()
public
_confirm(
[ $question :
mixed
= "Are you sure?" ]
[, $status :
mixed
= 'WARNING' ]
)
: mixed
Parameters
- $question : mixed = "Are you sure?"
- $status : mixed = 'WARNING'
Return values
mixed_getStdin()
public
_getStdin(
)
: mixed
Return values
mixed_colorize()
public
_colorize(
$text :
mixed
[, $status :
mixed
= 'NOTE' ]
)
: mixed
Parameters
- $text : mixed
- $status : mixed = 'NOTE'
Return values
mixed__construct()
public
__construct(
)
: mixed
Return values
mixed__destruct()
public
__destruct(
)
: mixed
Return values
mixed__callStatic()
public
static __callStatic(
$name :
mixed
, $arguments :
mixed
)
: mixed
Parameters
- $name : mixed
- $arguments : mixed
Return values
mixed__call()
public
__call(
$name :
mixed
, $arguments :
mixed
)
: mixed
Parameters
- $name : mixed
- $arguments : mixed