Yoast\WP\SEO\Generated
Cached_Container::getHTTPClientService
Gets the private 'Yoast\WP\SEO\MyYoast_Client\Infrastructure\Http\HTTP_Client' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\MyYoast_Client\Infrastructure\Http\HTTP_Client.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getHTTPClientService();
Код Cached_Container::getHTTPClientService() Cached Container::getHTTPClientService Yoast 28.9
protected function getHTTPClientService()
{
$this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Http\\HTTP_Client'] = $instance = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\Http\HTTP_Client(new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\DPoP\DPoP_Handler(($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Crypto\\Key_Pair_Manager'] ?? $this->getKeyPairManagerService()), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Crypto\\JWT_Signer'] ?? ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Crypto\\JWT_Signer'] = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\Crypto\JWT_Signer())), ($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\\Expiring_Store\\Application\\Expiring_Store'] ?? $this->getExpiringStoreService()));
$instance->setLogger(($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] ?? ($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] = new \Yoast\WP\SEO\Loggers\Logger())));
return $instance;
}