PHP Class Phue\TimePattern\RecurringTime

Inheritance: extends AbstractTimePattern
显示文件 Open project: sqmk/phue

Protected Properties

Property Type Description
$daysOfWeek integer Days of week
$timeOfDay string Time of day

Public Methods

Method Description
__construct ( integer $daysOfWeek, integer $hour, integer $minute, integer $second ) Instantiate
__toString ( ) : string To string

Method Details

__construct() public method

Instantiate
public __construct ( integer $daysOfWeek, integer $hour, integer $minute, integer $second )
$daysOfWeek integer Bitmask of days (MONDAY|WEDNESDAY|FRIDAY)
$hour integer Hour.
$minute integer Minute.
$second integer Second.

__toString() public method

To string
public __toString ( ) : string
return string Formatted date

Property Details

$daysOfWeek protected_oe property

Days of week
protected int $daysOfWeek
return integer

$timeOfDay protected_oe property

Time of day
protected string $timeOfDay
return string