1.7 Release
- Updated Readme
- Added __callStatic and __toString func, now you can create enum object as follows:
$status = PostStatus::PENDING();
Also, you can echo $status, it will display the enum value (value of the constant)
$status = PostStatus::PENDING();
echo $status;