PHP Class Phue\TimePattern\Timer

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

Protected Properties

Свойство Type Description
$repeat integer Number of times to repeat
$seconds integer Number of seconds until event

Méthodes publiques

Méthode Description
__construct ( $seconds ) Instantiate
__toString ( ) : string To string
repeat ( integer $count ) : self Repeat count.

Method Details

__construct() public méthode

Instantiate
public __construct ( $seconds )

__toString() public méthode

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

repeat() public méthode

Repeat count.
public repeat ( integer $count ) : self
$count integer Number of times to repeat
Résultat self This object

Property Details

$repeat protected_oe property

Number of times to repeat
protected int $repeat
Résultat integer

$seconds protected_oe property

Number of seconds until event
protected int $seconds
Résultat integer