PHP Интерфейс Neos\FluidAdaptor\Core\Parser\SyntaxTree\TemplateObjectAccessInterface
It consists only of one method "objectAccess()", which is called whenever an object
implementing this interface is encountered at a property path. The return value of this
method is the basis for further object accesses; so the object effectively "replaces" itself.
Example: If the object at "foo.bar" implements this interface, the "objectAccess()" method
is called after evaluating foo.bar; and the returned value is then traversed to "baz".
Often it can make sense to implement this interface alongside with the ArrayAccess interface.
It is currently used *internally* and might change without further notice.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
objectAccess ( ) : mixed |
Post-Processor which is called whenever this object is encountered in a Fluid
object access. |
|
Описание методов
objectAccess()
публичный Метод
Post-Processor which is called whenever this object is encountered in a Fluid
object access.
public objectAccess ( ) : mixed |
Результат |
mixed |
the value which should be returned to the caller, or which should be traversed further. |