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