Yoast\WP\SEO\Services\Health_Check

Links_Table_Reports::__constructpublicYoast 1.0

Constructor

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$Links_Table_Reports = new Links_Table_Reports();
$Links_Table_Reports->__construct( $report_builder_factory, $shortlinker );
$report_builder_factory(Report_Builder_Factory) (обязательный)
The factory for result builder objects. This class uses the report builder to generate WordPress-friendly health check results.
$shortlinker(WPSEO_Shortlinker) (обязательный)
Object used to add short links to the report description.

Код Links_Table_Reports::__construct() Yoast 25.5

public function __construct(
	Report_Builder_Factory $report_builder_factory,
	WPSEO_Shortlinker $shortlinker
) {
	$this->report_builder_factory = $report_builder_factory;
	$this->shortlinker            = $shortlinker;
}