Yoast\WP\SEO\Generated
Cached_Container::getConsentRoute2Service
Устарела. Больше не поддерживается и может быть удалена. Используйте
r_Interface\Consent_Route 28.4: Yoast\WP\SEO\AI_Consent\User_Interface\Consent_Route is deprecated since version 28.4!.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->getConsentRoute2Service();
Список изменений
| Устарела | Since Yoast\WP\SEO\AI_Consent\User_Interface\Consent_Route 28.4: Yoast\WP\SEO\AI_Consent\User_Interface\Consent_Route is deprecated since version 28.4! |
Код Cached_Container::getConsentRoute2Service() Cached Container::getConsentRoute2Service Yoast 28.9
protected function getConsentRoute2Service()
{
trigger_deprecation('Yoast\\WP\\SEO\\AI_Consent\\User_Interface\\Consent_Route', '28.4', 'Yoast\\WP\\SEO\\AI_Consent\\User_Interface\\Consent_Route is deprecated since version 28.4!');
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->getConsentHandler2Service()), ($this->services['Yoast\\WP\\SEO\\AI_Authorization\\Application\\Token_Manager'] ?? $this->getTokenManager2Service()), ($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] ?? ($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] = new \Yoast\WP\SEO\Loggers\Logger())));
}