AbstractMenuEntryNodeTransformer
in package
implements
NodeTransformer
AbstractYes
Table of Contents
Interfaces
Properties
- $logger : LoggerInterface
Methods
- __construct() : mixed
- enterNode() : T
- leaveNode() : T|null
- handleMenuEntry() : array<int, MenuEntryNode>
Properties
$logger read-only
protected
LoggerInterface
$logger
Methods
__construct()
public
__construct(LoggerInterface $logger) : mixed
Parameters
- $logger : LoggerInterface
enterNode()
public
final enterNode(Node $node, CompilerContextInterface $compilerContext) : T
Parameters
- $node : Node
- $compilerContext : CompilerContextInterface
Return values
TleaveNode()
public
final leaveNode(MenuEntryNode $node, CompilerContextInterface $compilerContext) : T|null
Parameters
- $node : MenuEntryNode
- $compilerContext : CompilerContextInterface
Return values
T|nullhandleMenuEntry()
protected
abstract handleMenuEntry(MenuNode $currentMenu, MenuEntryNode $entryNode, CompilerContextInterface $compilerContext) : array<int, MenuEntryNode>
Parameters
- $currentMenu : MenuNode
- $entryNode : MenuEntryNode
- $compilerContext : CompilerContextInterface