Automattic\WooCommerce\Internal\Admin\Logging\FileV2

File::__constructpublicWC 1.0

Class File

Method of the class: File{}

No Hooks.

Returns

null. Nothing (null).

Usage

$File = new File();
$File->__construct( $path );
$path(string) (required)
The absolute path of the file.

File::__construct() code WC 10.9.1

public function __construct( $path ) {
	$this->path = $path;
	$this->ingest_path();
}