Yoast\WP\SEO\Generated

Cached_Container::getWebStoriesServiceprotectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Integrations\Third_Party\Web_Stories' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Third_Party\Web_Stories.

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

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

Код Cached_Container::getWebStoriesService() Yoast 27.4

protected function getWebStoriesService()
{
    return $this->services['Yoast\\WP\\SEO\\Integrations\\Third_Party\\Web_Stories'] = new \Yoast\WP\SEO\Integrations\Third_Party\Web_Stories(($this->services['Yoast\\WP\\SEO\\Integrations\\Front_End_Integration'] ?? $this->getFrontEndIntegrationService()));
}