Yoast\WP\SEO\Generated

Cached_Container::getOAuthCallbackHandlerService │ protected │ Yoast 1.0

Gets the private 'Yoast\WP\SEO\MyYoast_Client\Application\OAuth_Callback_Handler' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\MyYoast_Client\Application\OAuth_Callback_Handler.

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

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

Код Cached_Container::getOAuthCallbackHandlerService() Yoast 28.9

protected function getOAuthCallbackHandlerService()
{
    $this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Application\\OAuth_Callback_Handler'] = $instance = new \Yoast\WP\SEO\MyYoast_Client\Application\OAuth_Callback_Handler(($this->services['Yoast\\WP\\SEO\\MyYoast_Client\\Application\\MyYoast_Client'] ?? $this->getMyYoastClientService()), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Application\\Authorization_Code_Handler'] ?? $this->getAuthorizationCodeHandlerService()), ($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;
}