Skip to content

Releases: ByScripts/static-entity

3.0.1

15 Oct 10:17

Choose a tag to compare

Add PhpDoc block to help IDE completion

3.0.0

14 Oct 22:50

Choose a tag to compare

Rewrite from scratch

2.1.3

02 Feb 11:52

Choose a tag to compare

Fix bug when calling get() twice with non existing key

2.1.2

23 Oct 15:46

Choose a tag to compare

Fix exception message

2.1.1

21 Jul 13:31

Choose a tag to compare

Allow '0' or 0 id

Can now return an empty instance when no result

23 Jun 09:03

Choose a tag to compare

Assuming a MyEntity static entity with no id 25:

MyEntity::get(25); // returns null
MyEntity::get(25, true); // returns empty instance of MyEntity

2.0.3

05 Jun 13:50

Choose a tag to compare

Fix error when converting empty value to id. Now return null

2.0.2

04 May 11:58

Choose a tag to compare

Update tests

2.0.1

04 May 09:20

Choose a tag to compare

Fix getAll returns an array with 'not-exist' id if get('not-exist') i…

Second stable version. Now using Manager.

04 May 08:42

Choose a tag to compare

2.0.0

Rename "Builder" to "Manager"