Created
November 13, 2017 11:39
-
-
Save zlikavac32/de9d8fa10ef4bc5897c413c6e5d36c94 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 | |
| final class YesNo extends \Eloquent\Enumeration\AbstractEnumeration { | |
| const NO = 0; | |
| const YES = 1; | |
| } | |
| var_dump(YesNo::YES()->key()); // YES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment