Class Minimal
Class CLI
Your commandline script should inherit from this class and implement the abstract methods.
- splitbrain\phpcli\CLI
- Minimal
protected
|
#
setup(
Register options and arguments on the given $options object |
protected
|
__construct(),
alert(),
checkArgments(),
critical(),
debug(),
emergency(),
error(),
execute(),
fatal(),
handleDefaultOptions(),
info(),
interpolate(),
log(),
notice(),
parseOptions(),
registerDefaultOptions(),
run(),
setupLogging(),
success(),
warning()
|
$bin,
$colors,
$logdefault,
$loglevel,
$options
|