original_string: public function entityClass($name = null)
      {
          deprecationWarning(
              get_called_class() . '::entityClass() is deprecated. ' .
              'Use setEntityClass()/getEntityClass() instead.'
          );
          if ($name !== null) {
              $this->setEntityClass($name);
          }
  
          return $this->getEntityClass();
      }
code: public function entityClass($name = null)
      {
          deprecationWarning(
              get_called_class() . '::entityClass() is deprecated. ' .
              'Use setEntityClass()/getEntityClass() instead.'
          );
          if ($name !== null) {
              $this->setEntityClass($name);
          }
  
          return $this->getEntityClass();
      }
code_tokens: public function entityClass ( $ name = null ) { deprecationWarning ( get_called_class ( ) . '::entityClass() is deprecated. ' . 'Use setEntityClass()/getEntityClass() instead.' ) ; if ( $ name !== null ) { $ this -> setEntityClass ( $ name ) ; } return $ this -> getEntityClass ( ) ; }
docstring: Returns the class used to hydrate rows for this table or sets
  a new one
  
  @deprecated 3.4.0 Use setEntityClass()/getEntityClass() instead.
  @param string|null $name The name of the class to use
  @throws \Cake\ORM\Exception\MissingEntityException when the entity class cannot be found
  @return string
docstring_tokens: Returns the class used to hydrate rows for this table or sets a new one