Yoast\WP\SEO\Generated

Cached_Container::getDiscoveryClientService │ protected │ Yoast 1.0

Gets the private 'Yoast\WP\SEO\MyYoast_Client\Infrastructure\OIDC\Discovery_Client' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\MyYoast_Client\Infrastructure\OIDC\Discovery_Client.

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

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

Код Cached_Container::getDiscoveryClientService() Yoast 28.9

protected function getDiscoveryClientService()
{
    $this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\OIDC\\Discovery_Client'] = $instance = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\OIDC\Discovery_Client(($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\OIDC\\Issuer_Config'] ?? ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\OIDC\\Issuer_Config'] = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\OIDC\Issuer_Config())), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Http\\HTTP_Client'] ?? $this->getHTTPClientService()));

    $instance->setLogger(($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] ?? ($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] = new \Yoast\WP\SEO\Loggers\Logger())));

    return $instance;
}