Yoast\WP\SEO\Generated
Cached_Container::getIndexingHelperService
Gets the public 'Yoast\WP\SEO\Helpers\Indexing_Helper' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Helpers\Indexing_Helper.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getIndexingHelperService();
Код Cached_Container::getIndexingHelperService() Cached Container::getIndexingHelperService Yoast 27.7
protected function getIndexingHelperService()
{
$this->services['Yoast\\WP\\SEO\\Helpers\\Indexing_Helper'] = $instance = new \Yoast\WP\SEO\Helpers\Indexing_Helper(($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())), ($this->services['Yoast\\WP\\SEO\\Helpers\\Date_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Date_Helper'] = new \Yoast\WP\SEO\Helpers\Date_Helper())), ($this->services['Yoast_Notification_Center'] ?? $this->getYoastNotificationCenterService()));
$instance->set_indexing_actions(($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Indexation_Action'] ?? $this->getIndexablePostIndexationActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Term_Indexation_Action'] ?? $this->getIndexableTermIndexationActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Type_Archive_Indexation_Action'] ?? $this->getIndexablePostTypeArchiveIndexationActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action'] ?? $this->getIndexableGeneralIndexationActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Post_Link_Indexing_Action'] ?? $this->getPostLinkIndexingActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Term_Link_Indexing_Action'] ?? $this->getTermLinkIndexingActionService()));
$instance->set_indexable_repository(($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] ?? $this->getIndexableRepositoryService()));
return $instance;
}