Yoast\WP\SEO\Generated
Cached_Container::getAPIClientService
Gets the public 'Yoast\WP\SEO\AI_HTTP_Request\Infrastructure\API_Client' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\AI_HTTP_Request\Infrastructure\API_Client.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getAPIClientService();
Код Cached_Container::getAPIClientService() Cached Container::getAPIClientService Yoast 26.9
protected function getAPIClientService()
{
return $this->services['Yoast\\WP\\SEO\\AI_HTTP_Request\\Infrastructure\\API_Client'] = new \Yoast\WP\SEO\AI_HTTP_Request\Infrastructure\API_Client();
}