Last active
January 5, 2022 11:01
-
-
Save ismail1432/5b4fa0e6f7408c14029e98110dacbd5b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class StatusType extends AbstractEnumType | |
{ | |
public const NAME = 'status'; | |
public function getName(): string // the name of the type. | |
{ | |
return self::NAME; | |
} | |
public static function getEnumsClass(): string // the enums class to convert | |
{ | |
return Status::class; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @thewalkingcoder
MERCI pour ton retour,
en effet, j'ai corrigé.