Automattic\WooCommerce\Internal\Admin\Logging\FileV2

FileExporter::__constructpublicWC 1.0

Class FileExporter.

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

Хуков нет.

Возвращает

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

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

$FileExporter = new FileExporter();
$FileExporter->__construct( $path, $alternate_filename );
$path(строка) (обязательный)
The absolute path of the file.
$alternate_filename(строка)
The name of the file to send to the browser rather than the filename part of the path.
По умолчанию: ''

Код FileExporter::__construct() WC 10.8.1

public function __construct( string $path, string $alternate_filename = '' ) {
	$this->path               = $path;
	$this->alternate_filename = $alternate_filename;
}