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

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

Protected Properties

Property Type Description
$type string The formatters class name.

Public Methods

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

Method Details

__construct() public method

Initializes the formatter node with the necessary data.
public __construct ( string $type = '', array $params = [] )
$type string The formatters class name
$params array The formatter params

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 formatters class name.
public getType ( ) : string
return string The formatters class name

Property Details

$type protected property

The formatters class name.
protected string $type
return string