Automattic\WooCommerce\Internal\Admin\Logging\FileV2

File::get_basenamepublicWC 1.0

Get the name of the file, with extension, but without full path.

Method of the class: File{}

No Hooks.

Returns

String.

Usage

$File = new File();
$File->get_basename(): string;

File::get_basename() code WC 9.9.5

public function get_basename(): string {
	return basename( $this->path );
}