ReflectionTypeConstant::getName

Get the name of the type constant

public function getName(): string;

Returns

  • string - The name of the type constant.