[Documentation](../../README.md) > [SortEnum](README.md) > **__toString**

# Nelexa\GPlay\Enum\SortEnum::__toString
`Nelexa\GPlay\Enum\SortEnum::__toString` — Returns the value of this enum constant, as contained in the declaration.

## Description
```php
Nelexa\GPlay\Enum\SortEnum::__toString ( void ) : string
```
This method may be overridden, though it typically isn't necessary or desirable.
An enum type should override this method when a more "programmer-friendly"
string form exists.

## Parameters
This function has no parameters.

## Return Values
Value of this enum constant (the array will be serialized in json).

[Documentation](../../README.md) > [SortEnum](README.md) > **__toString**
