Neos\Fusion\Core\Parser::getCurrentObjectPathPrefix PHP Method

getCurrentObjectPathPrefix() protected method

Returns the first part of an object path from the current object path stack which can be used to prefix a relative object path.
protected getCurrentObjectPathPrefix ( ) : string
return string A part of an object path, ready to use as a prefix
    protected function getCurrentObjectPathPrefix()
    {
        $lastElementOfStack = end($this->currentObjectPathStack);
        return $lastElementOfStack !== false ? $lastElementOfStack . '.' : '';
    }