Yoast\WP\SEO\Generated
Cached_Container::getAutoUpdateWatcherService
Gets the public 'Yoast\WP\SEO\Integrations\Watchers\Auto_Update_Watcher' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Integrations\Watchers\Auto_Update_Watcher.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getAutoUpdateWatcherService();
Код Cached_Container::getAutoUpdateWatcherService() Cached Container::getAutoUpdateWatcherService Yoast 28.3
protected function getAutoUpdateWatcherService()
{
return $this->services['Yoast\\WP\\SEO\\Integrations\\Watchers\\Auto_Update_Watcher'] = new \Yoast\WP\SEO\Integrations\Watchers\Auto_Update_Watcher(($this->services['Yoast_Notification_Center'] ?? $this->getYoastNotificationCenterService()));
}