Yoast\WP\SEO\Generated
Cached_Container::getDiscoveryClientService
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() 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;
}