Automattic\WooCommerce\Internal\Admin\Logging\FileV2
File::ingest_path()
Parse the log file path and assign various properties to this class instance.
Method of the class: File{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->ingest_path(): void;
File::ingest_path() File::ingest path code WC 9.3.3
protected function ingest_path(): void { $parsed_path = static::parse_path( $this->path ); $this->source = $parsed_path['source']; $this->rotation = $parsed_path['rotation']; $this->created = $parsed_path['created']; $this->hash = $parsed_path['hash']; }