Lines Matching refs:this

85         $this->dispatcher = $dispatcher ?: new EventDispatcher();
86 $this->metadataFactory = $metadataFactory;
87 $this->handlerRegistry = $handlerRegistry;
88 $this->objectConstructor = $objectConstructor;
89 $this->accessor = $accessor;
91 …$this->expressionExclusionStrategy = new ExpressionLanguageExclusionStrategy($expressionEvaluator);
112 …if ($this->visitor instanceof NullAwareVisitorInterface && true === $this->visitor->isNull($data))…
118 return $this->visitor->visitNull($data, $type);
121 return $this->visitor->visitString($data, $type);
125 return $this->visitor->visitInteger($data, $type);
129 return $this->visitor->visitBoolean($data, $type);
133 return $this->visitor->visitDouble($data, $type);
136 return $this->visitor->visitArray($data, $type);
142 $this->context->increaseDepth();
146 … if ($this->dispatcher->hasListeners('serializer.pre_deserialize', $type['name'], $this->format)) {
147 …$this->dispatcher->dispatch('serializer.pre_deserialize', $type['name'], $this->format, $event = n…
155 … (null !== $handler = $this->handlerRegistry->getHandler(GraphNavigatorInterface::DIRECTION_DESERI…
156 $rs = \call_user_func($handler, $this->visitor, $data, $type, $this->context);
157 $this->context->decreaseDepth();
163 $metadata = $this->metadataFactory->getMetadataForClass($type['name']);
165 if ($metadata->usingExpression && !$this->expressionExclusionStrategy) {
170 $metadata = $this->resolveMetadata($data, $metadata);
173 …if (null !== $this->exclusionStrategy && $this->exclusionStrategy->shouldSkipClass($metadata, $thi…
174 $this->context->decreaseDepth();
179 $this->context->pushClassMetadata($metadata);
181 …$object = $this->objectConstructor->construct($this->visitor, $metadata, $data, $type, $this->cont…
183 $this->visitor->startVisitingObject($metadata, $object, $type);
185 …if (null !== $this->exclusionStrategy && $this->exclusionStrategy->shouldSkipProperty($propertyMet…
189 …if (null !== $this->expressionExclusionStrategy && $this->expressionExclusionStrategy->shouldSkipP…
197 $this->context->pushPropertyMetadata($propertyMetadata);
199 $v = $this->visitor->visitProperty($propertyMetadata, $data);
200 $this->accessor->setValue($object, $v, $propertyMetadata, $this->context);
203 $this->context->popPropertyMetadata();
206 $rs = $this->visitor->endVisitingObject($metadata, $data, $type);
207 $this->afterVisitingObject($metadata, $rs, $type);
218 $typeValue = $this->visitor->visitDiscriminatorMapProperty($data, $metadata);
229 return $this->metadataFactory->getMetadataForClass($metadata->discriminatorMap[$typeValue]);
234 $this->context->decreaseDepth();
235 $this->context->popClassMetadata();
241 …if ($this->dispatcher->hasListeners('serializer.post_deserialize', $metadata->name, $this->format)…
242 …$this->dispatcher->dispatch('serializer.post_deserialize', $metadata->name, $this->format, new Obj…