Skip to content

Commit

Permalink
Replace "Exclude" by "Expose"
Browse files Browse the repository at this point in the history
  • Loading branch information
kpinchon committed Mar 30, 2020
1 parent ddb6971 commit e06e3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/cookbook/exclusion_strategies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ By default the serializer exposes three variables (`object`, `context` and `prop
private $name;
/**
* @Exclude(if="someMethod(object, context, property_metadata)")
* @Expose(if="someMethod(object, context, property_metadata)")
*/
private $name2;
}
Expand Down

0 comments on commit e06e3f6

Please sign in to comment.