original_string: public function connection($connection = null)
      {
          deprecationWarning(
              get_called_class() . '::connection() is deprecated. ' .
              'Use setConnection()/getConnection() instead.'
          );
          if ($connection !== null) {
              $this->_connection = $connection;
          }
  
          return $this->_connection;
      }
code: public function connection($connection = null)
      {
          deprecationWarning(
              get_called_class() . '::connection() is deprecated. ' .
              'Use setConnection()/getConnection() instead.'
          );
          if ($connection !== null) {
              $this->_connection = $connection;
          }
  
          return $this->_connection;
      }
code_tokens: public function connection ( $ connection = null ) { deprecationWarning ( get_called_class ( ) . '::connection() is deprecated. ' . 'Use setConnection()/getConnection() instead.' ) ; if ( $ connection !== null ) { $ this -> _connection = $ connection ; } return $ this -> _connection ; }
docstring: Returns correct connection resource or object that is internally used
  If first argument is passed, it will set internal connection object or
  result to the value passed.
  
  @param mixed $connection The PDO connection instance.
  @return mixed Connection object used internally.
  @deprecated 3.6.0 Use getConnection()/setConnection() instead.
docstring_tokens: Returns correct connection resource or object that is internally used If first argument is passed it will set internal connection object or result to the value passed .