PHP Class Phue\TimePattern\RandomizedTime

Inheritance: extends AbstractTimePattern
Afficher le fichier Open project: sqmk/phue

Protected Properties

Свойство Type Description
$date DateTime Date
$randomWithinSeconds integer Random within seconds

Méthodes publiques

Méthode Description
__construct ( string $time, integer $randomWithinSeconds = null ) Instantiate
__toString ( ) : string To string

Method Details

__construct() public méthode

Instantiate
public __construct ( string $time, integer $randomWithinSeconds = null )
$time string Time value
$randomWithinSeconds integer Random within seconds

__toString() public méthode

To string
public __toString ( ) : string
Résultat string Formatted date

Property Details

$date protected_oe property

Date
protected DateTime $date
Résultat DateTime

$randomWithinSeconds protected_oe property

Random within seconds
protected int $randomWithinSeconds
Résultat integer