Yoast\WP\SEO\Generated

Cached_Container::getMyYoastApiRequestFactoryService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Services\Health_Check\MyYoast_Api_Request_Factory' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Services\Health_Check\MyYoast_Api_Request_Factory.

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

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

Код Cached_Container::getMyYoastApiRequestFactoryService() Yoast 22.4

protected function getMyYoastApiRequestFactoryService()
{
    return $this->services['Yoast\\WP\\SEO\\Services\\Health_Check\\MyYoast_Api_Request_Factory'] = new \Yoast\WP\SEO\Services\Health_Check\MyYoast_Api_Request_Factory();
}