Yoast\WP\SEO\Generated

Cached_Container::getConsentHandlerService │ protected │ Yoast 1.0

Gets the public 'Yoast\WP\SEO\AI\Consent\Application\Consent_Handler' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\AI\Consent\Application\Consent_Handler.

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

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

Код Cached_Container::getConsentHandlerService() Yoast 28.9

protected function getConsentHandlerService()
{
    return $this->services['Yoast\\WP\\SEO\\AI\\Consent\\Application\\Consent_Handler'] = new \Yoast\WP\SEO\AI\Consent\Application\Consent_Handler(($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] = new \Yoast\WP\SEO\Helpers\User_Helper())), ($this->services['Yoast\\WP\\SEO\\AI\\Authentication\\Application\\AI_Request_Sender_Factory'] ?? $this->getAIRequestSenderFactoryService()), ($this->services['Yoast\\WP\\SEO\\AI\\Authorization\\Application\\Token_Manager'] ?? $this->getTokenManagerService()));
}