Yoast\WP\SEO\Generated

Cached_Container::getIndexableHierarchyRepositoryService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Repositories\Indexable_Hierarchy_Repository' shared autowired service.

Метод класса: Cached_Container{}

Хуков нет.

Возвращает

\Yoast\WP\SEO\Repositories\Indexable_Hierarchy_Repository.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->getIndexableHierarchyRepositoryService();

Код Cached_Container::getIndexableHierarchyRepositoryService() Yoast 19.11

protected function getIndexableHierarchyRepositoryService()
{
    $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Hierarchy_Repository'] = $instance = new \Yoast\WP\SEO\Repositories\Indexable_Hierarchy_Repository();

    $instance->set_builder(${($_ = isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Hierarchy_Builder']) ? $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Hierarchy_Builder'] : $this->getIndexableHierarchyBuilderService()) && false ?: '_'});

    return $instance;
}