Yoast\WP\SEO\Generated

Cached_Container::getAPIClientService │ protected │ Yoast 1.0

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() Yoast 28.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();
}