The enclosure is a convenient place for the current breaker since it secures the current breaker, protects it from environmental conditions and renders easy access to it in the event that the circuit breaker is activated and cuts off current to the electronics, etc.