PHP Class AppserverIo\Appserver\Core\Api\Node\HandlerNode

Inheritance: extends AppserverIo\Description\Api\Node\AbstractNode, use trait ParamsNodeTrait
Show file Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Property Type Description
$formatter FormatterNode The handler's formatter configuration.
$type string The handler's class name.

Public Methods

Method Description
__construct ( string $type = '', FormatterNode $formatter = null, array $params = [] ) Initializes the provisioner node with the necessary data.
getFormatter ( ) : FormatterNode Returns the formatter configuration.
getPrimaryKey ( ) : string Returns the nodes primary key, the name by default.
getType ( ) : string Returns information about the handler's class name.

Method Details

__construct() public method

Initializes the provisioner node with the necessary data.
public __construct ( string $type = '', FormatterNode $formatter = null, array $params = [] )
$type string The provisioner type
$formatter FormatterNode The formatter node
$params array The handler params

getFormatter() public method

Returns the formatter configuration.
public getFormatter ( ) : FormatterNode
return FormatterNode The formatter configuration node

getPrimaryKey() public method

Returns the nodes primary key, the name by default.
See also: AppserverIo\Appserver\Core\Api\Node\AbstractNode::getPrimaryKey()
public getPrimaryKey ( ) : string
return string The nodes primary key

getType() public method

Returns information about the handler's class name.
public getType ( ) : string
return string The handler's class name

Property Details

$formatter protected property

The handler's formatter configuration.
protected FormatterNode,AppserverIo\Appserver\Core\Api\Node $formatter
return FormatterNode

$type protected property

The handler's class name.
protected string $type
return string