Skip to content

Can now return an empty instance when no result

Compare
Choose a tag to compare
@ByScripts ByScripts released this 23 Jun 09:03
· 16 commits to master since this release

Assuming a MyEntity static entity with no id 25:

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