original_string: public function repository(RepositoryInterface $table = null)
      {
          if ($table === null) {
              deprecationWarning(
                  'Using Query::repository() as getter is deprecated. ' .
                  'Use getRepository() instead.'
              );
  
              return $this->getRepository();
          }
  
          $this->_repository = $table;
  
          return $this;
      }
code: public function repository(RepositoryInterface $table = null)
      {
          if ($table === null) {
              deprecationWarning(
                  'Using Query::repository() as getter is deprecated. ' .
                  'Use getRepository() instead.'
              );
  
              return $this->getRepository();
          }
  
          $this->_repository = $table;
  
          return $this;
      }
code_tokens: public function repository ( RepositoryInterface $ table = null ) { if ( $ table === null ) { deprecationWarning ( 'Using Query::repository() as getter is deprecated. ' . 'Use getRepository() instead.' ) ; return $ this -> getRepository ( ) ; } $ this -> _repository = $ table ; return $ this ; }
docstring: Returns the default table object that will be used by this query,
  that is, the table that will appear in the from clause.
  
  When called with a Table argument, the default table object will be set
  and this query object will be returned for chaining.
  
  @param \Cake\Datasource\RepositoryInterface|null $table The default table object to use
  @return \Cake\Datasource\RepositoryInterface|$this
docstring_tokens: Returns the default table object that will be used by this query that is the table that will appear in the from clause .