[Documentation](../../README.md) > [PriceEnum](README.md) > **fromValue**

# Nelexa\GPlay\Enum\PriceEnum::fromValue
`Nelexa\GPlay\Enum\PriceEnum::fromValue` — Returns first enum of the specified constant value.

## Description
```php
Nelexa\GPlay\Enum\PriceEnum::fromValue ( string | int | float | bool | array | null $value ) : static
```

## Parameters
* **$value** (string | int | float | bool | array | null)  
Checked value.

## Return Values
the enum constant of the specified constant value.

[Documentation](../../README.md) > [PriceEnum](README.md) > **fromValue**
