Skip to content

Commit

Permalink
Update entities.rst
Browse files Browse the repository at this point in the history
As mentioned previously: 
>The has() method will return true if a field is defined.
  • Loading branch information
MarwanSalim authored May 25, 2024
1 parent 01aaf37 commit 640f859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/orm/entities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ value::
$article->isEmpty('title'); // false
$article->hasValue('title'); // true

$article->has('user_id'); // false
$article->has('user_id'); // true
$article->isEmpty('user_id'); // true
$article->hasValue('user_id'); // false

Expand Down

0 comments on commit 640f859

Please sign in to comment.