Yoast\WP\SEO\Generated
Cached_Container::getConsentRouteService
Gets the public 'Yoast\WP\SEO\AI_Consent\User_Interface\Consent_Route' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\AI_Consent\User_Interface\Consent_Route.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getConsentRouteService();
Код Cached_Container::getConsentRouteService() Cached Container::getConsentRouteService Yoast 26.9
protected function getConsentRouteService()
{
return $this->services['Yoast\\WP\\SEO\\AI_Consent\\User_Interface\\Consent_Route'] = new \Yoast\WP\SEO\AI_Consent\User_Interface\Consent_Route(($this->services['Yoast\\WP\\SEO\\AI_Consent\\Application\\Consent_Handler'] ?? $this->getConsentHandlerService()), ($this->services['Yoast\\WP\\SEO\\AI_Authorization\\Application\\Token_Manager'] ?? $this->getTokenManagerService()));
}