mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 14:34:05 +00:00
delete interface and cs fix
This commit is contained in:
parent
da4bf0cd1d
commit
adbddff041
4 changed files with 8 additions and 17 deletions
|
|
@ -152,9 +152,8 @@ This helper returns an associative array of case descriptions.
|
|||
#### Apply the trait on your enum
|
||||
```php
|
||||
use ArchTech\Enums\Descriptions;
|
||||
use ArchTech\Enums\DescriptionInterface;
|
||||
|
||||
enum TaskStatus: int implements DescriptionInterface
|
||||
enum TaskStatus: int
|
||||
{
|
||||
use Descriptions;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue