for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Holiday Library.
*
* (c) Michał Mańko <[email protected]>
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Michalmanko\Holiday\Provider;
use ArrayObject;
/**
* Baden-Württemberg (state of Germany) Holidays Provider.
* @author ottowayne <[email protected]>
class GermanyBW extends Germany
{
* {@inheritdoc}
protected function prepareHolidays($year)
/** @var ArrayObject $data */
$data = new ArrayObject(parent::prepareHolidays($year));
$data->append($this->getHolidayEpiphany($year));
$data->append($this->getHolidayCorpusChristi($year));
$data->append($this->getHolidayAllSaintsDay($year));
return $data;
}