Skip to content

Releases: omitobi/conditional

2.0.0

30 Apr 21:11
f09865e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3.0...2.0.0

1.3.0 Released

07 May 08:09
e584d29
Compare
Choose a tag to compare

New

  • Allow PHP 7.2 + @ #51
  • Readme update with minimum requirement @ #51

Changes

  • All static properties to class properties @ #51
  • Readme update with related projects @ 5ad9055

Bugfix

Fix: Failure when there at two conditionals in a function #41 @ 1733cd1

1.2.0 Released

20 Apr 21:32
6e4de92
Compare
Choose a tag to compare
  • Add conditional(condition, value1, value2) as Tenary operator
  • Make else() return the value of the last truthy execution

1.1.1 release

19 Apr 15:28
9d4b7f5
Compare
Choose a tag to compare
  • Allow call to more than one elseIf() method on an instance #38

1.1 Release

19 Apr 11:50
57433c2
Compare
Choose a tag to compare
  • Added elseIf() method #36
  • Exception can be thrown on fulfilling a condition #33

Update documentation with version instructions

17 Apr 08:37
e04d189
Compare
Choose a tag to compare
Merge pull request #31 from omitobi/master

[skip travis] Accept 1.* version documentation

Release version 1.0.0

16 Apr 22:10
93d2174
Compare
Choose a tag to compare
  • Add If(), else(), then() methods
  • Allow invokable classes in returnable method
  • Enable calling Conditional via helper method conditional()
  • Update documentation

The smart if else

16 Apr 17:33
8bc56eb
Compare
Choose a tag to compare
The smart if else Pre-release
Pre-release
  • Add If(), else(), then() methods
  • Allow invokable classes in returnable method
  • Enable calling Conditional via helper method conditional()