PHP Class Yasumi\Filters\OfficialHolidaysFilter

OfficialHolidaysFilter is a class that returns all holidays that are considered official (i.e. national) of any given holiday provider. Example usage: $holidays = Yasumi::create('Netherlands', 2015); $official = new OfficialHolidaysFilter($holidays->getIterator());
Inheritance: extends FilterIterato\FilterIterator
ファイルを表示 Open project: azuyalabs/yasumi Class Usage Examples

Public Methods

Method Description
accept ( ) : boolean Checks whether the current element of the iterator is a national/official holiday.

Method Details

accept() public method

Checks whether the current element of the iterator is a national/official holiday.
public accept ( ) : boolean
return boolean