Created
December 28, 2021 22:33
-
-
Save ismail1432/3777334e6f3edcac8fd09b1e49b8f805 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 | |
namespace App; | |
enum Status: string { | |
case Draft = 'draft'; | |
case Deleted = 'deleted'; | |
case Published = 'published'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment