getExpiration() public method

Get the expiration of the message.
public getExpiration ( ) : string
return string The message expiration.
Example #1
0
 /**
  * @inheritdoc
  */
 public function getExpiration() : int
 {
     return (int) $this->envelope->getExpiration();
 }