Skip to content

Releases: yii2mod/yii2-enum

1.7.1 Release

19 Apr 22:10
Compare
Choose a tag to compare
  1. Fix listData function

1.7 Release

09 Jan 22:51
Compare
Choose a tag to compare
  1. Updated Readme
  2. 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;

1.6.1 Release

06 Jan 21:52
Compare
Choose a tag to compare
  1. Updated php-cs-fixer version

1.6 Release

22 Nov 15:47
Compare
Choose a tag to compare
  1. Update tests
  2. Update Readme

1.5 Release

22 Nov 15:34
Compare
Choose a tag to compare
  1. Fix code style
  2. Update tests

1.4 Release

06 Aug 12:22
Compare
Choose a tag to compare

Date: Saturday, 6, 2016

  1. Update message category

1.3 Release

04 Jul 15:53
Compare
Choose a tag to compare

Date: Monday, July 4, 2016

  1. Added tests

1.2 Release

17 Jun 08:15
Compare
Choose a tag to compare

Date: Friday, June 17, 2016

  1. Update docs
  2. Update composer.json

1.1 Release

09 Nov 10:58
Compare
Choose a tag to compare

1.1 Release

Initial release

21 Jul 14:09
Compare
Choose a tag to compare

Initial release