N98\Magento\Command\Config\SearchCommand::_searchConfiguration PHP Метод

_searchConfiguration() защищенный Метод

protected _searchConfiguration ( string $searchString, string $system ) : array
$searchString string
$system string
Результат array
    protected function _searchConfiguration($searchString, $system)
    {
        $xpathSections = array('sections/*', 'sections/*/groups/*', 'sections/*/groups/*/fields/*');
        $matches = array();
        foreach ($xpathSections as $xpath) {
            $tmp = $this->_searchConfigurationNodes($searchString, $system->getNode()->xpath($xpath));
            $matches = array_merge($matches, $tmp);
        }
        return $matches;
    }