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.
파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
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.