Yoast\WP\SEO\Generated
Cached_Container::getIndexCommandService
Gets the public 'Yoast\WP\SEO\Commands\Index_Command' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Commands\Index_Command.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getIndexCommandService();
Код Cached_Container::getIndexCommandService() Cached Container::getIndexCommandService Yoast 26.9
protected function getIndexCommandService()
{
return $this->services['Yoast\\WP\\SEO\\Commands\\Index_Command'] = new \Yoast\WP\SEO\Commands\Index_Command(($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\\Indexable_Indexing_Complete_Action'] ?? $this->getIndexableIndexingCompleteActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexing_Prepare_Action'] ?? $this->getIndexingPrepareActionService()), ($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()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_Helper'] ?? $this->getIndexableHelperService()));
}