PHP Class Yasumi\Filters\SeasonalHolidaysFilter
OfficialHolidaysFilter is a class that returns all holidays that are considered seasonal of any given holiday
provider.
Example usage:
$holidays = Yasumi::create('Netherlands', 2015);
$seasonal = new SeasonalHolidaysFilter($holidays->getIterator());
Afficher le fichier
Open project: azuyalabs/yasumi
Class Usage Examples
Méthodes publiques
Méthode |
Description |
|
accept ( ) : boolean |
Checks whether the current element of the iterator is a seasonal holiday. |
|
Method Details
Checks whether the current element of the iterator is a seasonal holiday.