Yoast\WP\SEO\Generated

Cached_Container::getPageCommentsReportsService()protectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Services\Health_Check\Page_Comments_Reports.

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

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

Код Cached_Container::getPageCommentsReportsService() Yoast 24.0

protected function getPageCommentsReportsService()
{
    return $this->services['Yoast\\WP\\SEO\\Services\\Health_Check\\Page_Comments_Reports'] = new \Yoast\WP\SEO\Services\Health_Check\Page_Comments_Reports(${($_ = isset($this->services['Yoast\\WP\\SEO\\Services\\Health_Check\\Report_Builder_Factory']) ? $this->services['Yoast\\WP\\SEO\\Services\\Health_Check\\Report_Builder_Factory'] : ($this->services['Yoast\\WP\\SEO\\Services\\Health_Check\\Report_Builder_Factory'] = new \Yoast\WP\SEO\Services\Health_Check\Report_Builder_Factory())) && false ?: '_'});
}