Yoast\WP\SEO\Generated
Cached_Container::getGetSuggestionsRoute2Service
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->getGetSuggestionsRoute2Service();
Код Cached_Container::getGetSuggestionsRoute2Service() Cached Container::getGetSuggestionsRoute2Service Yoast 28.3
protected function getGetSuggestionsRoute2Service()
{
return $this->services['Yoast\\WP\\SEO\\AI\\Generator\\User_Interface\\Get_Suggestions_Route'] = new \Yoast\WP\SEO\AI\Generator\User_Interface\Get_Suggestions_Route(new \Yoast\WP\SEO\AI\Generator\Application\Suggestions_Provider(($this->services['Yoast\\WP\\SEO\\AI\\Consent\\Application\\Consent_Handler'] ?? $this->getConsentHandlerService()), ($this->services['Yoast\\WP\\SEO\\AI\\Authentication\\Application\\AI_Request_Sender_Factory'] ?? $this->getAIRequestSenderFactoryService())));
}