Automattic\WooCommerce\Internal\Admin\Logging\FileV2
File::ingest_path
Parse the log file path and assign various properties to this class instance.
Метод класса: File{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->ingest_path(): void;
Код File::ingest_path() File::ingest path WC 10.5.0
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'];
}