src/Month.php
private static function get(int $value) : Month
    {
        static $values;

        if (! isset($values[$value])) {
            $values[$value] = new Month($value);
        }

        return $values[$value];
    }
private static function get(int $value) : Month
    {
        static $values;

        if (! isset($values[$value])) {
            $values[$value] = new Month($value);
        }

        return $values[$value];
    }
private static function get ( int $ value ) : Month { static $ values ; if ( ! isset ( $ values [ $ value ] ) ) { $ values [ $ value ] = new Month ( $ value ) ; } return $ values [ $ value ] ; }
Returns a cached Month instance.

@param int $value The month value, validated from 1 to 12.

@return Month The cached Month instance.
Returns a cached Month instance .