Documentation

Reference
in package
implements Definition, SelfResolvingDefinition

Represents a reference to another entry.

Tags
author

Matthieu Napoli matthieu@mnapoli.fr

Table of Contents

Interfaces

Definition
SelfResolvingDefinition
Describes a definition that can resolve itself.

Properties

$name  : string
Entry name.
$targetEntryName  : string

Methods

__construct()  : mixed
__toString()  : string
getName()  : string
getTargetEntryName()  : string
isResolvable()  : bool
Check if a definition can be resolved.
replaceNestedDefinitions()  : void
resolve()  : mixed
Resolve the definition and return the resulting value.
setName()  : void

Properties

$targetEntryName

private string $targetEntryName

Methods

__construct()

public __construct(string $targetEntryName) : mixed
Parameters
$targetEntryName : string

Name of the target entry

__toString()

public __toString() : string
Return values
string

getName()

public getName() : string
Return values
string

getTargetEntryName()

public getTargetEntryName() : string
Return values
string

replaceNestedDefinitions()

public replaceNestedDefinitions(callable $replacer) : void
Parameters
$replacer : callable

setName()

public setName(string $name) : void
Parameters
$name : string

        
On this page

Search results