PHP Class Yasumi\Filters\OtherHolidaysFilter

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

Public Methods

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

Method Details

accept() public method

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