getDate() public method

Get the origination date of the message as a UNIX timestamp.
public getDate ( ) : integer
return integer
Exemplo n.º 1
0
 /**
  * Return the Debug Mail Filename.
  * 
  * @return string
  */
 private function filename()
 {
     $to = str_replace(['@', '.'], ['_at_', '_'], array_keys($this->message->getTo())[0]);
     return str_slug($this->message->getDate() . '_' . $to . '_' . $this->message->getSubject(), '_') . '.html';
 }