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