Skip to content

3.1.0

Choose a tag to compare

@dborsatto dborsatto released this 26 Apr 11:52
· 252 commits to master since this release

Added

  • Entries now have a has($field) method (with a magic hasX() equivalent) which returns whether an entry has the given field currently loaded.

Changed

  • The magic __call method now allow for access also using the actual field name, without get prefix (for instance $entry->title()). This was done to further improve compatibility on edge cases with templating engines such as Twig.