Yoast\WP\SEO\Generated
Cached_Container::getGetSuggestionsRoute3Service
Устарела. Больше не поддерживается и может быть удалена. Используйте
r_Interface\Get_Suggestions_Route 28.4: Yoast\WP\SEO\AI_Generator\User_Interface\Get_Suggestions_Route is deprecated since version 28.4!.Gets the public 'Yoast\WP\SEO\AI_Generator\User_Interface\Get_Suggestions_Route' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\AI_Generator\User_Interface\Get_Suggestions_Route.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getGetSuggestionsRoute3Service();
Список изменений
| Устарела | Since Yoast\WP\SEO\AI_Generator\User_Interface\Get_Suggestions_Route 28.4: Yoast\WP\SEO\AI_Generator\User_Interface\Get_Suggestions_Route is deprecated since version 28.4! |
Код Cached_Container::getGetSuggestionsRoute3Service() Cached Container::getGetSuggestionsRoute3Service Yoast 28.9
protected function getGetSuggestionsRoute3Service()
{
trigger_deprecation('Yoast\\WP\\SEO\\AI_Generator\\User_Interface\\Get_Suggestions_Route', '28.4', 'Yoast\\WP\\SEO\\AI_Generator\\User_Interface\\Get_Suggestions_Route is deprecated since version 28.4!');
return $this->services['Yoast\\WP\\SEO\\AI_Generator\\User_Interface\\Get_Suggestions_Route'] = new \Yoast\WP\SEO\AI_Generator\User_Interface\Get_Suggestions_Route(($this->services['Yoast\\WP\\SEO\\AI_Generator\\Application\\Suggestions_Provider'] ?? $this->getSuggestionsProviderService()));
}