metadataFactory = $metadataFactory; $this->handlerRegistry = $handlerRegistry; $this->objectConstructor = $objectConstructor; $this->accessor = $accessor; $this->dispatcher = $dispatcher; $this->expressionEvaluator = $expressionEvaluator; } public function getGraphNavigator(): GraphNavigatorInterface { return new DeserializationGraphNavigator($this->metadataFactory, $this->handlerRegistry, $this->objectConstructor, $this->accessor, $this->dispatcher, $this->expressionEvaluator); } }