original_string: public function setAttribute($key, $value)
      {
          if ($this->isBaseAttribute($key))
          {
              return parent::setAttribute($key, $value);
          } else
          {
              return $this->getSource()->setAttribute($key, $value);
          }
      }
code: public function setAttribute($key, $value)
      {
          if ($this->isBaseAttribute($key))
          {
              return parent::setAttribute($key, $value);
          } else
          {
              return $this->getSource()->setAttribute($key, $value);
          }
      }
code_tokens: public function setAttribute ( $ key , $ value ) { if ( $ this -> isBaseAttribute ( $ key ) ) { return parent :: setAttribute ( $ key , $ value ) ; } else { return $ this -> getSource ( ) -> setAttribute ( $ key , $ value ) ; } }
docstring: Sets a model attribute
  
  @param string $key
  @param mixed $value
  @return void
docstring_tokens: Sets a model attribute