Yoast\WP\SEO\Llms_Txt\User_Interface

Enable_Llms_Txt_Option_Watcher::__construct │ public │ Yoast 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$Enable_Llms_Txt_Option_Watcher = new Enable_Llms_Txt_Option_Watcher();
$Enable_Llms_Txt_Option_Watcher->__construct( $scheduler, $remove_file_command_handler, $populate_file_command_handler, $options_helper );
$scheduler(Llms_Txt_Cron_Scheduler) (обязательный)
The cron scheduler.
$remove_file_command_handler(Remove_File_Command_Handler) (обязательный)
The remove file command handler.
$populate_file_command_handler(Populate_File_Command_Handler) (обязательный)
The populate file command handler.
$options_helper(Options_Helper) (обязательный)
The options helper.

Код Enable_Llms_Txt_Option_Watcher::__construct() Yoast 28.9

public function __construct(
	Llms_Txt_Cron_Scheduler $scheduler,
	Remove_File_Command_Handler $remove_file_command_handler,
	Populate_File_Command_Handler $populate_file_command_handler,
	Options_Helper $options_helper
) {
	$this->scheduler                     = $scheduler;
	$this->remove_file_command_handler   = $remove_file_command_handler;
	$this->populate_file_command_handler = $populate_file_command_handler;
	$this->options_helper                = $options_helper;
}