Searched refs:addExclusionStrategy (Results 1 – 4 of 4) sorted by relevance
74 $this->addExclusionStrategy(new GroupsExclusionStrategy($this->attributes['groups']));78 $this->addExclusionStrategy(new VersionExclusionStrategy($this->attributes['version']));82 $this->addExclusionStrategy(new DepthExclusionStrategy());141 public function addExclusionStrategy(ExclusionStrategyInterface $strategy): self function in JMS\\Serializer\\Context
34 ->addExclusionStrategy(new DepthExclusionStrategy());
86 …lizer->serialize($object, 'json', SerializationContext::create()->addExclusionStrategy($exclusionS…136 …lizer->serialize($object, 'json', SerializationContext::create()->addExclusionStrategy($exclusionS…
1420 ->addExclusionStrategy(new DepthExclusionStrategy());1493 $serializationContext->addExclusionStrategy(new AlwaysExcludeExclusionStrategy());