[Documentation](../../README.md) > [CategoryEnum](README.md) > **valueOf**

# Nelexa\GPlay\Enum\CategoryEnum::valueOf
`Nelexa\GPlay\Enum\CategoryEnum::valueOf` — Returns the enum of the specified constant name.

## Description
```php
Nelexa\GPlay\Enum\CategoryEnum::valueOf ( string $name ) : static
```
The name must match exactly an identifier used to declare an enum constant
in this type. (Extraneous whitespace characters are not permitted.)

## Parameters
* **$name** (string)  
the name of the constant

## Return Values
the enum constant of the specified enum type with the specified name

[Documentation](../../README.md) > [CategoryEnum](README.md) > **valueOf**
