| 1 | <?php |
||
| 16 | class HolidayService implements HolidayServiceInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var Collection |
||
| 20 | */ |
||
| 21 | protected $holidays; |
||
| 22 | |||
| 23 | public function __construct(ResourceFile $resourceFile) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | public function findAll() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function findTraditionalHolidays() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function findInternationalHolidays() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function findSolarTermHolidays() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | public function findHolidaysByType($type) |
||
| 69 | |||
| 70 | /** |
||
| 71 | * {@inheritdoc} |
||
| 72 | */ |
||
| 73 | public function find($name) |
||
| 79 | } |