original_string: public function send($outbox=null)
      {
  
          if($outbox instanceof Writer){
              self::$outbox = $outbox;
          } elseif(!self::$outbox){
              self::$outbox = new Writer();
          }
  
          if($this->onBeforeSend($this) !== false){
              
              self::$outbox->addEmailToOutbox($this);
  
              //return if sent
              return self::$outbox->send();
          }
  
      }
code: public function send($outbox=null)
      {
  
          if($outbox instanceof Writer){
              self::$outbox = $outbox;
          } elseif(!self::$outbox){
              self::$outbox = new Writer();
          }
  
          if($this->onBeforeSend($this) !== false){
              
              self::$outbox->addEmailToOutbox($this);
  
              //return if sent
              return self::$outbox->send();
          }
  
      }
code_tokens: public function send ( $ outbox = null ) { if ( $ outbox instanceof Writer ) { self :: $ outbox = $ outbox ; } elseif ( ! self :: $ outbox ) { self :: $ outbox = new Writer ( ) ; } if ( $ this -> onBeforeSend ( $ this ) !== false ) { self :: $ outbox -> addEmailToOutbox ( $ this ) ; //return if sent return self :: $ outbox -> send ( ) ; } }
docstring: Uses sb_Email_Writer to send the email
docstring_tokens: Uses sb_Email_Writer to send the email