public function getObjectByPath($path)
    {
        if (substr($path, -1) !== '.') {
            $path = rtrim($path, '.');
            $path = substr($path, 0, strrpos($path, '.') + 1);
        }

        if (!is_string($path)) {
            throw new InvalidArgumentException('Parameter $path is not a string', 1325627243);
        }

        return $this->configurationAccess->get($path);
    }
public function getObjectByPath($path)
    {
        if (substr($path, -1) !== '.') {
            $path = rtrim($path, '.');
            $path = substr($path, 0, strrpos($path, '.') + 1);
        }

        if (!is_string($path)) {
            throw new InvalidArgumentException('Parameter $path is not a string', 1325627243);
        }

        return $this->configurationAccess->get($path);
    }
public function getObjectByPath ( $ path ) { if ( substr ( $ path , - 1 ) !== '.' ) { $ path = rtrim ( $ path , '.' ) ; $ path = substr ( $ path , 0 , strrpos ( $ path , '.' ) + 1 ) ; } if ( ! is_string ( $ path ) ) { throw new InvalidArgumentException ( 'Parameter $path is not a string' , 1325627243 ) ; } return $ this -> configurationAccess -> get ( $ path ) ; }
Gets the parent TypoScript Object from a given TypoScript path.

In the context of an frontend content element the path plugin.tx_solr is
merged recursive with overrule with the content element specific typoscript
settings, like plugin.tx_solr_PiResults_Results, and possible flex form settings
(depends on the solr plugin).

Example: plugin.tx_solr.index.queue.tt_news.fields.content
returns $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_solr.']['index.']['queue.']['tt_news.']['fields.']['content.']
which is a SOLR_CONTENT cObj.

@param string $path TypoScript path
@return array The TypoScript object defined by the given path
@throws InvalidArgumentException
Gets the parent TypoScript Object from a given TypoScript path .