Yoast\WP\SEO\Generated

Cached_Container::getRequestHandlerServiceprotectedYoast 1.0

Gets the public 'Yoast\WP\SEO\AI_HTTP_Request\Application\Request_Handler' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\AI_HTTP_Request\Application\Request_Handler.

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

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

Код Cached_Container::getRequestHandlerService() Yoast 26.9

protected function getRequestHandlerService()
{
    return $this->services['Yoast\\WP\\SEO\\AI_HTTP_Request\\Application\\Request_Handler'] = new \Yoast\WP\SEO\AI_HTTP_Request\Application\Request_Handler(($this->services['Yoast\\WP\\SEO\\AI_HTTP_Request\\Infrastructure\\API_Client'] ?? ($this->services['Yoast\\WP\\SEO\\AI_HTTP_Request\\Infrastructure\\API_Client'] = new \Yoast\WP\SEO\AI_HTTP_Request\Infrastructure\API_Client())), new \Yoast\WP\SEO\AI_HTTP_Request\Application\Response_Parser());
}