Yoast\WP\SEO\Generated

Cached_Container::getTokenStorageServiceprotectedYoast 1.0

Gets the private 'Yoast\WP\SEO\MyYoast_Client\Infrastructure\Token\Token_Storage' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\MyYoast_Client\Infrastructure\Token\Token_Storage.

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

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

Код Cached_Container::getTokenStorageService() Yoast 28.3

protected function getTokenStorageService()
{
    $this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Token\\Token_Storage'] = $instance = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\Token\Token_Storage(($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())));

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

    return $instance;
}