Yoast\WP\SEO\Llms_Txt\Application\Health_Check

File_Check::__constructpublicYoast 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$File_Check = new File_Check();
$File_Check->__construct( $runner, $reports, $options_helper );
$runner(File_Runner) (обязательный)
The object that implements the actual health check.
$reports(File_Reports) (обязательный)
The object that generates WordPress-friendly results.
$options_helper(Options_Helper) (обязательный)
The options helper.

Код File_Check::__construct() Yoast 28.4

public function __construct(
	File_Runner $runner,
	File_Reports $reports,
	Options_Helper $options_helper
) {
	$this->runner         = $runner;
	$this->reports        = $reports;
	$this->options_helper = $options_helper;

	$this->reports->set_test_identifier( $this->get_test_identifier() );
	$this->set_runner( $this->runner );
}