NodeInterface

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<string|int, mixed>
Main render method

Methods

__construct()

All nodes get an instance of the NodeFactory and the main data array

public __construct(NodeFactory $nodeFactory, array<string|int, mixed> $data) : mixed
Parameters
$nodeFactory : NodeFactory
$data : array<string|int, mixed>

render()

Main render method

public render() : array<string|int, mixed>
Return values
array<string|int, mixed>

As defined in initializeResultArray() of AbstractNode


        
On this page

Search results