Yoast\WP\SEO\Generated

Cached_Container::getWPRobotsIntegrationServiceprotectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Integrations\Front_End\WP_Robots_Integration' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Front_End\WP_Robots_Integration.

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

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

Код Cached_Container::getWPRobotsIntegrationService() Yoast 26.9

protected function getWPRobotsIntegrationService()
{
    return $this->services['Yoast\\WP\\SEO\\Integrations\\Front_End\\WP_Robots_Integration'] = new \Yoast\WP\SEO\Integrations\Front_End\WP_Robots_Integration(($this->services['Yoast\\WP\\SEO\\Memoizers\\Meta_Tags_Context_Memoizer'] ?? $this->getMetaTagsContextMemoizerService()));
}