public function getDays(Month $month)
    {
        $days = array();

        for ($dayNo = 1; $dayNo <= $month->numberOfDays(); $dayNo++) {
            $days[$dayNo] = $this->getDay($month, $dayNo);
        }

        return $days;
    }
public function getDays(Month $month)
    {
        $days = array();

        for ($dayNo = 1; $dayNo <= $month->numberOfDays(); $dayNo++) {
            $days[$dayNo] = $this->getDay($month, $dayNo);
        }

        return $days;
    }
public function getDays ( Month $ month ) { $ days = array ( ) ; for ( $ dayNo = 1 ; $ dayNo <= $ month -> numberOfDays ( ) ; $ dayNo ++ ) { $ days [ $ dayNo ] = $ this -> getDay ( $ month , $ dayNo ) ; } return $ days ; }
Returns all the days for the given month.

@param Month $month
@return DayInterface[]
Returns all the days for the given month .