Yoast\WP\SEO\Generated

Cached_Container::getClientRegistrationServiceprotectedYoast 1.0

Gets the private 'Yoast\WP\SEO\MyYoast_Client\Infrastructure\Registration\Client_Registration' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\MyYoast_Client\Infrastructure\Registration\Client_Registration.

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

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

Код Cached_Container::getClientRegistrationService() Yoast 28.3

protected function getClientRegistrationService()
{
    $this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Registration\\Client_Registration'] = $instance = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\Registration\Client_Registration(($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\OIDC\\Discovery_Client'] ?? $this->getDiscoveryClientService()), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Crypto\\Key_Pair_Manager'] ?? $this->getKeyPairManagerService()), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Crypto\\Encryption'] ?? ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Crypto\\Encryption'] = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\Crypto\Encryption())), ($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->services['Yoast\\WP\\SEO\\Helpers\\Lock_Helper'] ?? $this->getLockHelperService()), ($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;
}