PHP Class Yasumi\Filters\ObservedHolidaysFilter

ObservedHolidaysFilter is a class that returns all holidays that are considered observed of any given holiday provider. Example usage: $holidays = Yasumi::create('Netherlands', 2015); $observed = new ObservedHolidaysFilter($holidays->getIterator());
Inheritance: extends FilterIterato\FilterIterator
Datei anzeigen Open project: azuyalabs/yasumi Class Usage Examples

Public Methods

Method Description
accept ( ) : boolean Checks whether the current element of the iterator is an observed holiday.

Method Details

accept() public method

Checks whether the current element of the iterator is an observed holiday.
public accept ( ) : boolean
return boolean