original_string: public function setTimestamp($timestamp)
      {
          if (!$timestamp instanceof \DateTime) {
              $date = new \DateTime();
              $date->setTimestamp($timestamp);
          } else {
              $date = $timestamp;
          }
          $this->header['TIMESTAMP'] = $date->format('M d H:i:s');
          return $this;
      }
code: public function setTimestamp($timestamp)
      {
          if (!$timestamp instanceof \DateTime) {
              $date = new \DateTime();
              $date->setTimestamp($timestamp);
          } else {
              $date = $timestamp;
          }
          $this->header['TIMESTAMP'] = $date->format('M d H:i:s');
          return $this;
      }
code_tokens: public function setTimestamp ( $ timestamp ) { if ( ! $ timestamp instanceof \ DateTime ) { $ date = new \ DateTime ( ) ; $ date -> setTimestamp ( $ timestamp ) ; } else { $ date = $ timestamp ; } $ this -> header [ 'TIMESTAMP' ] = $ date -> format ( 'M d H:i:s' ) ; return $ this ; }
docstring: Set the timestamp of the message generation
  @var int|\DateTime $timestamp UNIX Timestamp (as generated by time() or strtotime()) or a php DateTime object
  @return Bsd
docstring_tokens: Set the timestamp of the message generation