Yoast\WP\SEO\Generated
Cached_Container::getConsentHandlerService
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() Cached Container::getConsentHandlerService Yoast 26.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())));
}