NodeInterface
interface \
Interface must be implemented by all container and widget classes
Table of Contents
Methods
- __construct() : mixed
- All nodes get an instance of the NodeFactory and the main data array
- render() : array
- Main render method
Methods
__construct()
All nodes get an instance of the NodeFactory and the main data array
public
__construct(NodeFactory $nodeFactory, array $data) : mixed
Parameters
- $nodeFactory : NodeFactory
- $data : array
render()
Main render method
public
render() : array
Return values
array —As defined in initializeResultArray() of AbstractNode