original_string: public function source($alias = null)
      {
          deprecationWarning(
              get_called_class() . '::source() is deprecated. ' .
              'Use setSource()/getSource() instead.'
          );
          if ($alias === null) {
              return $this->getSource();
          }
  
          $this->setSource($alias);
  
          return $this;
      }
code: public function source($alias = null)
      {
          deprecationWarning(
              get_called_class() . '::source() is deprecated. ' .
              'Use setSource()/getSource() instead.'
          );
          if ($alias === null) {
              return $this->getSource();
          }
  
          $this->setSource($alias);
  
          return $this;
      }
code_tokens: public function source ( $ alias = null ) { deprecationWarning ( get_called_class ( ) . '::source() is deprecated. ' . 'Use setSource()/getSource() instead.' ) ; if ( $ alias === null ) { return $ this -> getSource ( ) ; } $ this -> setSource ( $ alias ) ; return $ this ; }
docstring: Returns the alias of the repository from which this entity came from.
  
  If called with no arguments, it returns the alias of the repository
  this entity came from if it is known.
  
  @deprecated 3.4.0 Use EntityTrait::getSource() and EntityTrait::setSource()
  @param string|null $alias the alias of the repository
  @return string|$this
docstring_tokens: Returns the alias of the repository from which this entity came from .