NodeResolverInterface

Interface must be implemented by node resolver classes

Table of Contents

Methods

__construct()  : mixed
Main data array is received by NodeFactory
resolve()  : string|void
Main resolver method

Methods

__construct()

Main data array is received by NodeFactory

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

Main data array

resolve()

Main resolver method

public resolve() : string|void
Return values
string|void

New class name or void if this resolver does not change current class name.


        
On this page

Search results