original_string: public function getRepository($name = null)
      {
          // Resolve repository class name
          $repositoryName = $this->resolveRepositoryClassName($name);
  
          return new $repositoryName($this->getValidator(), $this->config);
      }
code: public function getRepository($name = null)
      {
          // Resolve repository class name
          $repositoryName = $this->resolveRepositoryClassName($name);
  
          return new $repositoryName($this->getValidator(), $this->config);
      }
code_tokens: public function getRepository ( $ name = null ) { // Resolve repository class name $ repositoryName = $ this -> resolveRepositoryClassName ( $ name ) ; return new $ repositoryName ( $ this -> getValidator ( ) , $ this -> config ) ; }
docstring: Gets repository by name
  
  @param   string      $name       Name of the repository to get
docstring_tokens: Gets repository by name