Yoast\WP\SEO\Generated

Cached_Container::getTermLinkIndexingActionServiceprotectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Actions\Indexing\Term_Link_Indexing_Action' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Actions\Indexing\Term_Link_Indexing_Action.

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

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

Код Cached_Container::getTermLinkIndexingActionService() Yoast 26.9

protected function getTermLinkIndexingActionService()
{
    $a = ($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Link_Builder'] ?? $this->getIndexableLinkBuilderService());

    if (isset($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Term_Link_Indexing_Action'])) {
        return $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Term_Link_Indexing_Action'];
    }
    $b = ($this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_Helper'] ?? $this->getIndexableHelperService());

    if (isset($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Term_Link_Indexing_Action'])) {
        return $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Term_Link_Indexing_Action'];
    }
    $c = ($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] ?? $this->getIndexableRepositoryService());

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

    $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Term_Link_Indexing_Action'] = $instance = new \Yoast\WP\SEO\Actions\Indexing\Term_Link_Indexing_Action($a, $b, $c, ($this->services['wpdb'] ?? $this->getWpdbService()));

    $instance->set_helper(($this->services['Yoast\\WP\\SEO\\Helpers\\Taxonomy_Helper'] ?? $this->getTaxonomyHelperService()));

    return $instance;
}