Automattic\WooCommerce\Internal\Admin\Logging\FileV2

File::get_basename()publicWC 1.0

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

Метод класса: File{}

Хуков нет.

Возвращает

Строку.

Использование

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

Код File::get_basename() WC 9.7.1

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