Yoast\WP\SEO\Generated
Cached_Container::getOAuthGrantHandlerService
Gets the private 'Yoast\WP\SEO\MyYoast_Client\Application\OAuth_Grant_Handler' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\MyYoast_Client\Application\OAuth_Grant_Handler.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getOAuthGrantHandlerService();
Код Cached_Container::getOAuthGrantHandlerService() Cached Container::getOAuthGrantHandlerService Yoast 28.3
protected function getOAuthGrantHandlerService()
{
$this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Application\\OAuth_Grant_Handler'] = $instance = new \Yoast\WP\SEO\MyYoast_Client\Application\OAuth_Grant_Handler(($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\OIDC\\Discovery_Client'] ?? $this->getDiscoveryClientService()), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Registration\\Client_Registration'] ?? $this->getClientRegistrationService()), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Crypto\\Client_Authenticator'] ?? $this->getClientAuthenticatorService()), ($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;
}