Yoast\WP\SEO\Generated
Cached_Container::getIndexableRepositoryService
Gets the public 'Yoast\WP\SEO\Repositories\Indexable_Repository' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Repositories\Indexable_Repository.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getIndexableRepositoryService();
Код Cached_Container::getIndexableRepositoryService() Cached Container::getIndexableRepositoryService Yoast 27.8
protected function getIndexableRepositoryService()
{
$a = ($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Hierarchy_Repository'] ?? $this->getIndexableHierarchyRepositoryService());
if (isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'])) {
return $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'];
}
$b = ($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'] ?? $this->getIndexableBuilderService());
if (isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'])) {
return $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'];
}
return $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] = new \Yoast\WP\SEO\Repositories\Indexable_Repository($b, ($this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'] ?? $this->getCurrentPageHelperService()), ($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] ?? ($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] = new \Yoast\WP\SEO\Loggers\Logger())), $a, ($this->services['wpdb'] ?? $this->getWpdbService()), ($this->services['Yoast\\WP\\SEO\\Services\\Indexables\\Indexable_Version_Manager'] ?? $this->getIndexableVersionManagerService()));
}