src/Validator/DateValidator.php
public function isValid()
    {
        $validators = [
            'isDateValuesIntegers',
            'isValidDayRange',
            'isValidMonthRange',
            'isValidPagumeDayRange',
            'isValidLeapDay',
        ];

        return array_reduce($validators, function ($result, $validator) {
            return $result && $this->{$validator}();
        }, true);
    }
public function isValid()
    {
        $validators = [
            'isDateValuesIntegers',
            'isValidDayRange',
            'isValidMonthRange',
            'isValidPagumeDayRange',
            'isValidLeapDay',
        ];

        return array_reduce($validators, function ($result, $validator) {
            return $result && $this->{$validator}();
        }, true);
    }
public function isValid ( ) { $ validators = [ 'isDateValuesIntegers' , 'isValidDayRange' , 'isValidMonthRange' , 'isValidPagumeDayRange' , 'isValidLeapDay' , ] ; return array_reduce ( $ validators , function ( $ result , $ validator ) { return $ result && $ this -> { $ validator } ( ) ; } , true ) ; }
validate the ethiopian date.

@return bool true if valid
validate the ethiopian date .