original_string: public function validate(NavitiaRequestInterface $request)
      {
          $validator = Validation::createValidatorBuilder()
              ->enableAnnotationMapping()
              ->getValidator();
          $violations = $validator->validate($request->processParameters());
          return $violations;
      }
code: public function validate(NavitiaRequestInterface $request)
      {
          $validator = Validation::createValidatorBuilder()
              ->enableAnnotationMapping()
              ->getValidator();
          $violations = $validator->validate($request->processParameters());
          return $violations;
      }
code_tokens: public function validate ( NavitiaRequestInterface $ request ) { $ validator = Validation :: createValidatorBuilder ( ) -> enableAnnotationMapping ( ) -> getValidator ( ) ; $ violations = $ validator -> validate ( $ request -> processParameters ( ) ) ; return $ violations ; }
docstring: Permet de valider une requete avec les contraintes en annotations
  
  @param \Navitia\Component\Request\NavitiaRequestInterface $request
  @return \Symfony\Component\Validator\ConstraintViolationListInterface
docstring_tokens: Permet de valider une requete avec les contraintes en annotations