Automattic\WooCommerce\Internal\Admin\Logging\FileV2
File::get_basename
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() File::get basename code WC 10.9.1
public function get_basename(): string {
return basename( $this->path );
}