public function setHolidaysInMonth(\DateTime $lngDate, $inclCatholicEaster = false)
    {
        $holidaysInGivenYear = $this->setHolidays($lngDate, $inclCatholicEaster);
        $thisMonthDayArray   = $this->setMonthAllDaysIntoArray($lngDate);
        $holidays            = 0;
        foreach ($thisMonthDayArray as $value) {
            if (in_array($value, $holidaysInGivenYear)) {
                $holidays += 1;
            }
        }
        return $holidays;
    }
public function setHolidaysInMonth(\DateTime $lngDate, $inclCatholicEaster = false)
    {
        $holidaysInGivenYear = $this->setHolidays($lngDate, $inclCatholicEaster);
        $thisMonthDayArray   = $this->setMonthAllDaysIntoArray($lngDate);
        $holidays            = 0;
        foreach ($thisMonthDayArray as $value) {
            if (in_array($value, $holidaysInGivenYear)) {
                $holidays += 1;
            }
        }
        return $holidays;
    }
public function setHolidaysInMonth ( \ DateTime $ lngDate , $ inclCatholicEaster = false ) { $ holidaysInGivenYear = $ this -> setHolidays ( $ lngDate , $ inclCatholicEaster ) ; $ thisMonthDayArray = $ this -> setMonthAllDaysIntoArray ( $ lngDate ) ; $ holidays = 0 ; foreach ( $ thisMonthDayArray as $ value ) { if ( in_array ( $ value , $ holidaysInGivenYear ) ) { $ holidays += 1 ; } } return $ holidays ; }
returns bank holidays in a given month

@param \DateTime $lngDate
@param boolean $inclCatholicEaster
@return int
returns bank holidays in a given month