[symfony] Allow configure min max expiration years.