original_string: public function getRepositoryFactory(): RepositoryFactoryInterface
      {
          if (null !== $this->repositoryFactory) {
              return $this->repositoryFactory;
          }
  
          $factory = new DefaultRepositoryFactory();
          $factory->setDefaultRepositoryClassName($this->getDefaultRepositoryClassName());
  
          return $factory;
      }
code: public function getRepositoryFactory(): RepositoryFactoryInterface
      {
          if (null !== $this->repositoryFactory) {
              return $this->repositoryFactory;
          }
  
          $factory = new DefaultRepositoryFactory();
          $factory->setDefaultRepositoryClassName($this->getDefaultRepositoryClassName());
  
          return $factory;
      }
code_tokens: public function getRepositoryFactory ( ) : RepositoryFactoryInterface { if ( null !== $ this -> repositoryFactory ) { return $ this -> repositoryFactory ; } $ factory = new DefaultRepositoryFactory ( ) ; $ factory -> setDefaultRepositoryClassName ( $ this -> getDefaultRepositoryClassName ( ) ) ; return $ factory ; }
docstring: Sets the repository factory.
  
  @return RepositoryFactoryInterface
docstring_tokens: Sets the repository factory .