Lines Matching refs:visitor
157 $visitor = $this->getVisitor(GraphNavigatorInterface::DIRECTION_SERIALIZATION, $format);
162 $result = $this->visit($navigator, $visitor, $context, $data, $format, $type);
163 return $visitor->getResult($result);
175 $visitor = $this->getVisitor(GraphNavigatorInterface::DIRECTION_DESERIALIZATION, $format);
178 $result = $this->visit($navigator, $visitor, $context, $data, $format, $type);
180 return $visitor->getResult($result);
192 $visitor = $this->getVisitor(GraphNavigatorInterface::DIRECTION_SERIALIZATION, 'json');
196 $result = $this->visit($navigator, $visitor, $context, $data, 'json', $type);
219 $visitor = $this->getVisitor(GraphNavigatorInterface::DIRECTION_DESERIALIZATION, 'json');
222 return $this->visit($navigator, $visitor, $context, $data, 'json', $type, false);
230 …private function visit(GraphNavigatorInterface $navigator, VisitorInterface $visitor, Context $con… argument
234 $visitor,
239 $visitor->setNavigator($navigator);
240 $navigator->initialize($visitor, $context);
243 $data = $visitor->prepare($data);