Skip to content

Commit

Permalink
Update entities.rst
Browse files Browse the repository at this point in the history
Added a note about virtual fields not being available to finds.
  • Loading branch information
davidyell committed Oct 7, 2014
1 parent 26ae005 commit e980e30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions en/orm/entities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ You can access virtual properties as if they existed on the entity. The property
name will be the lower case and underscored version of the method::

echo $user->full_name;
Do bear in mind that virtual properties cannot be used in finds.

Validation Errors
=================
Expand Down

0 comments on commit e980e30

Please sign in to comment.