Yoast\WP\SEO\Generated

Cached_Container::getAMPService()protectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Third_Party\AMP.

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

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

Код Cached_Container::getAMPService() Yoast 22.4

protected function getAMPService()
{
    return $this->services['Yoast\\WP\\SEO\\Integrations\\Third_Party\\AMP'] = new \Yoast\WP\SEO\Integrations\Third_Party\AMP(${($_ = isset($this->services['Yoast\\WP\\SEO\\Integrations\\Front_End_Integration']) ? $this->services['Yoast\\WP\\SEO\\Integrations\\Front_End_Integration'] : $this->getFrontEndIntegrationService()) && false ?: '_'});
}