PHP Class Yasumi\Filters\BankHolidaysFilter
BankHolidaysFilter is a class that returns all holidays that are considered bank holidays of any given holiday
provider.
Example usage:
$holidays = Yasumi::create('Netherlands', 2015);
$bank = new BankHolidaysFilter($holidays->getIterator());
Exibir arquivo
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
Checks whether the current element of the iterator is an observed holiday.