public function construct(VisitorInterface $visitor, ClassMetadata $metadata, $data, array $type, DeserializationContext $context)
 {
     if ($context instanceof \Lemon\RestBundle\Serializer\DeserializationContext && $context->shouldUseDoctrineConstructor()) {
         $this->useDoctrine();
     }
     return $this->objectConstructor->construct($visitor, $metadata, $data, $type, $context);
 }