category Zend
package Zend_Service_Console
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
copyright Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)
license New BSD License
license http://phpazure.codeplex.com/license

 Methods

Bootstrap the shell command.

bootstrap(array $argv) 
Static

Parameters

$argv

array

PHP argument values.

Gets the handler.

getHandler() : array

Returns

array

Displays the help information.

helpCommand() 
command-name
command-name -h
command-name -help
command-description Displays the current help information.

Replaces PHP's error handler

phpstderr(mixed $errno, mixed $errstr, mixed $errfile, mixed $errline) 
Static

Parameters

$errno

mixed

$errstr

mixed

$errfile

mixed

$errline

mixed

Replaces PHP's exception handler

phpstdex(\Exception $exception) 
Static

Parameters

$exception

\Exception

Sets the handler.

setHandler(array $handler) : \Zend_Service_Console_Command

Parameters

$handler

array

Returns

\Zend_Service_Console_Command

Writes output to STDERR, followed by a newline (optional)

stderr(string $errorMessage, string $newLine = true
Static

Parameters

$errorMessage

string

$newLine

string

Builds the handler model.

_buildModel() : array
Static

Returns

array

Display information on an object

_displayObjectInformation(object $object, array $propertiesToDump = array()

Parameters

$object

object

Object

$propertiesToDump

array

Property names to display

Finds the value for a specific docComment.

_findValueForDocComment(string $docCommentName, \unknown_type $docComment) : array
Static

Parameters

$docCommentName

string

Comment name

$docComment

\unknown_type

Comment object

Returns

array

 Properties

 

The handler.

$_handler : array

Default