From e06e3f6ad0f3e5837fdb04a29fa37ceeed3f7bfc Mon Sep 17 00:00:00 2001 From: kpinchon Date: Mon, 30 Mar 2020 09:12:11 +0200 Subject: [PATCH] Replace "Exclude" by "Expose" --- doc/cookbook/exclusion_strategies.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/cookbook/exclusion_strategies.rst b/doc/cookbook/exclusion_strategies.rst index 066dabcf2..5b81cf209 100644 --- a/doc/cookbook/exclusion_strategies.rst +++ b/doc/cookbook/exclusion_strategies.rst @@ -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; }