original_string: public function setUp(
          $entityClass,
          array $entityProperties,
          $collectionClass,
          RepositoryInterface $entityRepository = null
      ) {
          @trigger_error(__METHOD__.'() is deprecated and will be removed in 2.0. Please use configureMetadata() instead.', E_USER_DEPRECATED);
  
          if ($entityRepository) {
              @trigger_error('Repository injection throught '.__METHOD__.'() is deprecated and will be removed in 2.0. Please inject it by constructor.', E_USER_DEPRECATED);
  
              $this->entityRepository = $entityRepository;
          }
  
          return $this->configureMetadata($entityClass, $entityProperties, $collectionClass);
      }
code: public function setUp(
          $entityClass,
          array $entityProperties,
          $collectionClass,
          RepositoryInterface $entityRepository = null
      ) {
          @trigger_error(__METHOD__.'() is deprecated and will be removed in 2.0. Please use configureMetadata() instead.', E_USER_DEPRECATED);
  
          if ($entityRepository) {
              @trigger_error('Repository injection throught '.__METHOD__.'() is deprecated and will be removed in 2.0. Please inject it by constructor.', E_USER_DEPRECATED);
  
              $this->entityRepository = $entityRepository;
          }
  
          return $this->configureMetadata($entityClass, $entityProperties, $collectionClass);
      }
code_tokens: public function setUp ( $ entityClass , array $ entityProperties , $ collectionClass , RepositoryInterface $ entityRepository = null ) { @ trigger_error ( __METHOD__ . '() is deprecated and will be removed in 2.0. Please use configureMetadata() instead.' , E_USER_DEPRECATED ) ; if ( $ entityRepository ) { @ trigger_error ( 'Repository injection throught ' . __METHOD__ . '() is deprecated and will be removed in 2.0. Please inject it by constructor.' , E_USER_DEPRECATED ) ; $ this -> entityRepository = $ entityRepository ; } return $ this -> configureMetadata ( $ entityClass , $ entityProperties , $ collectionClass ) ; }
docstring: setUp method.
  
  @param string              $entityClass
  @param array               $entityProperties
  @param string              $collectionClass
  @param RepositoryInterface $entityRepository
docstring_tokens: setUp method .