Yoast\WP\SEO\Generated

Cached_Container::getGetSuggestionsRouteService │ protected │ Yoast 1.0

Gets the public 'Yoast\WP\SEO\AI\Content_Planner\User_Interface\Get_Suggestions_Route' shared autowired service.

Метод класса: Cached_Container{}

Хуков нет.

Возвращает

\Yoast\WP\SEO\AI\Content_Planner\User_Interface\Get_Suggestions_Route.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->getGetSuggestionsRouteService();

Код Cached_Container::getGetSuggestionsRouteService() Yoast 28.9

protected function getGetSuggestionsRouteService()
{
    return $this->services['Yoast\\WP\\SEO\\AI\\Content_Planner\\User_Interface\\Get_Suggestions_Route'] = new \Yoast\WP\SEO\AI\Content_Planner\User_Interface\Get_Suggestions_Route(new \Yoast\WP\SEO\AI\Content_Planner\Application\Content_Suggestion_Command_Handler(($this->privates['Yoast\\WP\\SEO\\AI\\Content_Planner\\Infrastructure\\Recent_Content\\Recent_Content_Collector'] ?? $this->getRecentContentCollectorService()), ($this->services['Yoast\\WP\\SEO\\AI\\Authentication\\Application\\AI_Request_Sender_Factory'] ?? $this->getAIRequestSenderFactoryService()), ($this->services['Yoast\\WP\\SEO\\AI\\Consent\\Application\\Consent_Handler'] ?? $this->getConsentHandlerService()), new \Yoast\WP\SEO\AI\Content_Planner\Infrastructure\WordPress_Category_Repository()));
}