PHP Interface AppserverIo\Appserver\Core\Api\Node\ConsoleNodeInterface

Inheritance: extends AppserverIo\Configuration\Interfaces\NodeInterface
Show file Open project: appserver-io/appserver

Public Methods

Method Description
getFactory ( ) : string Returns the console's factory class name.
getName ( ) : string Returns the console's name
getParam ( string $name ) : mixed Returns the param with the passed name casted to the specified type.
getParams ( ) : array Array with the handler params to use.
getParamsAsArray ( ) : array Returns the params casted to the defined type as associative array.
getType ( ) : string Returns the console's class name.

Method Details

getFactory() public method

Returns the console's factory class name.
public getFactory ( ) : string
return string The console's factory class name

getName() public method

Returns the console's name
public getName ( ) : string
return string The console's name

getParam() public method

Returns the param with the passed name casted to the specified type.
public getParam ( string $name ) : mixed
$name string The name of the param to be returned
return mixed The requested param casted to the specified type

getParams() public method

Array with the handler params to use.
public getParams ( ) : array
return array

getParamsAsArray() public method

Returns the params casted to the defined type as associative array.
public getParamsAsArray ( ) : array
return array The array with the casted params

getType() public method

Returns the console's class name.
public getType ( ) : string
return string The console's class name