Yoast\WP\SEO\Generated

Cached_Container::getIndexableCleanupRepositoryServiceprotectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Repositories\Indexable_Cleanup_Repository.

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

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

Код Cached_Container::getIndexableCleanupRepositoryService() Yoast 27.8

protected function getIndexableCleanupRepositoryService()
{
    return $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Cleanup_Repository'] = new \Yoast\WP\SEO\Repositories\Indexable_Cleanup_Repository(($this->services['Yoast\\WP\\SEO\\Helpers\\Taxonomy_Helper'] ?? $this->getTaxonomyHelperService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] ?? $this->getPostTypeHelperService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Author_Archive_Helper'] ?? $this->getAuthorArchiveHelperService()));
}