Yoast\WP\SEO\Generated

Cached_Container::getOptionWpseoWatcherService()protectedYoast 1.0

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() Yoast 22.4

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 ?: '_'});
}