DelayStamp
in package
implements
StampInterface
FinalYes
Apply this stamp to delay delivery of your message on a transport.
Table of Contents
Interfaces
- StampInterface
- An envelope stamp related to a message.
Properties
- $delay : int
Methods
- __construct() : mixed
- delayFor() : self
- delayUntil() : self
- getDelay() : int
Properties
$delay
private
int
$delay
Methods
__construct()
public
__construct(int $delay) : mixed
Parameters
- $delay : int
-
The delay in milliseconds
delayFor()
public
static delayFor(DateInterval $interval) : self
Parameters
- $interval : DateInterval
Return values
selfdelayUntil()
public
static delayUntil(DateTimeInterface $dateTime) : self
Parameters
- $dateTime : DateTimeInterface
Return values
selfgetDelay()
public
getDelay() : int