Yoast\WP\SEO\Llms_Txt\Application\File\Commands
Remove_File_Command_Handler::__construct
Constructor.
Метод класса: Remove_File_Command_Handler{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Remove_File_Command_Handler = new Remove_File_Command_Handler(); $Remove_File_Command_Handler->__construct( $options_helper, $file_system_adapter, $permission_gate );
- $options_helper(Options_Helper) (обязательный)
- The options helper.
- $file_system_adapter(WordPress_File_System_Adapter) (обязательный)
- The file system adapter.
- $permission_gate(WordPress_Llms_Txt_Permission_Gate) (обязательный)
- The permission gate.
Код Remove_File_Command_Handler::__construct() Remove File Command Handler:: construct Yoast 26.9
public function __construct(
Options_Helper $options_helper,
WordPress_File_System_Adapter $file_system_adapter,
WordPress_Llms_Txt_Permission_Gate $permission_gate
) {
$this->options_helper = $options_helper;
$this->file_system_adapter = $file_system_adapter;
$this->permission_gate = $permission_gate;
}