Yoast\WP\SEO\Generated

Cached_Container::getIndexablePostMetaWatcherServiceprotectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Meta_Watcher' shared autowired service.

Метод класса: Cached_Container{}

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Meta_Watcher.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->getIndexablePostMetaWatcherService();

Код Cached_Container::getIndexablePostMetaWatcherService() Yoast 27.6

protected function getIndexablePostMetaWatcherService()
{
    return $this->services['Yoast\\WP\\SEO\\Integrations\\Watchers\\Indexable_Post_Meta_Watcher'] = new \Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Meta_Watcher(($this->services['Yoast\\WP\\SEO\\Integrations\\Watchers\\Indexable_Post_Watcher'] ?? $this->getIndexablePostWatcherService()));
}