original_string: public function name($name = null)
      {
          deprecationWarning(
              get_called_class() . '::name() is deprecated. ' .
              'Use setName()/getName() instead.'
          );
          if ($name !== null) {
              $this->setName($name);
          }
  
          return $this->getName();
      }
code: public function name($name = null)
      {
          deprecationWarning(
              get_called_class() . '::name() is deprecated. ' .
              'Use setName()/getName() instead.'
          );
          if ($name !== null) {
              $this->setName($name);
          }
  
          return $this->getName();
      }
code_tokens: public function name ( $ name = null ) { deprecationWarning ( get_called_class ( ) . '::name() is deprecated. ' . 'Use setName()/getName() instead.' ) ; if ( $ name !== null ) { $ this -> setName ( $ name ) ; } return $ this -> getName ( ) ; }
docstring: Sets the name for this association.
  
  @deprecated 3.4.0 Use setName()/getName() instead.
  @param string|null $name Name to be assigned
  @return string
docstring_tokens: Sets the name for this association .