Yoast\WP\SEO\Generated
Cached_Container::getIndexableGeneralIndexationActionService
Gets the public 'Yoast\WP\SEO\Actions\Indexing\Indexable_General_Indexation_Action' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Actions\Indexing\Indexable_General_Indexation_Action.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getIndexableGeneralIndexationActionService();
Код Cached_Container::getIndexableGeneralIndexationActionService() Cached Container::getIndexableGeneralIndexationActionService Yoast 28.0
protected function getIndexableGeneralIndexationActionService()
{
$a = ($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] ?? $this->getIndexableRepositoryService());
if (isset($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action'])) {
return $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action'];
}
return $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action'] = new \Yoast\WP\SEO\Actions\Indexing\Indexable_General_Indexation_Action($a);
}