WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
функция не описана

Yoast\WP\SEO\Generated

Cached_Container::getIndexableBuilderService() protected Yoast 1.0

Gets the public 'Yoast\WP\SEO\Builders\Indexable_Builder' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Builders\Indexable_Builder.

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

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

Код Cached_Container::getIndexableBuilderService() Yoast 15.2

<?php
protected function getIndexableBuilderService()
{
    $a = ${($_ = isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Author_Builder']) ? $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Author_Builder'] : $this->getIndexableAuthorBuilderService()) && false ?: '_'};

    if (isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'])) {
        return $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'];
    }
    $b = ${($_ = isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Post_Builder']) ? $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Post_Builder'] : $this->getIndexablePostBuilderService()) && false ?: '_'};

    if (isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'])) {
        return $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'];
    }
    $c = ${($_ = isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Term_Builder']) ? $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Term_Builder'] : $this->getIndexableTermBuilderService()) && false ?: '_'};

    if (isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'])) {
        return $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'];
    }
    $d = ${($_ = isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Home_Page_Builder']) ? $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Home_Page_Builder'] : $this->getIndexableHomePageBuilderService()) && false ?: '_'};

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

    if (isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'])) {
        return $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'];
    }
    $f = ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_Helper'] : $this->getIndexableHelperService()) && false ?: '_'};

    if (isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'])) {
        return $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'];
    }

    $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'] = $instance = new \Yoast\WP\SEO\Builders\Indexable_Builder($a, $b, $c, $d, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Post_Type_Archive_Builder']) ? $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Post_Type_Archive_Builder'] : $this->getIndexablePostTypeArchiveBuilderService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Date_Archive_Builder']) ? $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Date_Archive_Builder'] : $this->getIndexableDateArchiveBuilderService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_System_Page_Builder']) ? $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_System_Page_Builder'] : $this->getIndexableSystemPageBuilderService()) && false ?: '_'}, $e, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Builders\\Primary_Term_Builder']) ? $this->services['Yoast\\WP\\SEO\\Builders\\Primary_Term_Builder'] : $this->getPrimaryTermBuilderService()) && false ?: '_'}, $f);

    $instance->set_indexable_repository(${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] : $this->getIndexableRepositoryService()) && false ?: '_'});

    return $instance;
}