Lines Matching refs:data
98 * @param mixed $data the data depends on the direction, and type of visitor
103 public function accept($data, ?array $type = null) argument
112 …f ($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);
147 …ze', $type['name'], $this->format, $event = new PreDeserializeEvent($this->context, $data, $type));
149 $data = $event->getData();
156 $rs = \call_user_func($handler, $this->visitor, $data, $type, $this->context);
170 $metadata = $this->resolveMetadata($data, $metadata);
181 …$object = $this->objectConstructor->construct($this->visitor, $metadata, $data, $type, $this->cont…
199 $v = $this->visitor->visitProperty($propertyMetadata, $data);
206 $rs = $this->visitor->endVisitingObject($metadata, $data, $type);
214 * @param mixed $data
216 private function resolveMetadata($data, ClassMetadata $metadata): ?ClassMetadata argument
218 $typeValue = $this->visitor->visitDiscriminatorMapProperty($data, $metadata);