Automattic\WooCommerce\Vendor\GraphQL\Type\Definition
PhpEnumType::baseName
Method of the class: PhpEnumType{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->baseName( $class ): string;
- $class(class-string) (required)
- .
PhpEnumType::baseName() PhpEnumType::baseName code WC 10.9.1
protected function baseName(string $class): string
{
$parts = explode('\\', $class);
return end($parts);
}