Yoast\WP\SEO\Services\Health_Check

Page_Comments_Check::__construct()publicYoast 1.0

Constructor.

{} Это метод класса: Page_Comments_Check{}

Хуков нет.

Возвращает

null. Ничего.

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

$Page_Comments_Check = new Page_Comments_Check();
$Page_Comments_Check->__construct(;

Код Page_Comments_Check::__construct() Yoast 19.2

public function __construct(
	Page_Comments_Runner $runner,
	Page_Comments_Reports $reports
) {
	$this->runner  = $runner;
	$this->reports = $reports;
	$this->reports->set_test_identifier( $this->get_test_identifier() );

	$this->set_runner( $this->runner );
}