zf-fr/zfr-rest — pull request #126 by bakura10 (2014-02-20 20:15:36+00:00)
Title: Allow to set controller behaviors per controller

Adresses #125

ping @danizord @Ocramius

As said, this PR removes completely the controller behavior options (as a consequence, I also removed for now the options that allowed to preserve keys for error messages, as I'm not satisfied with the ControllerBehaviour naming anymore, as most controller behaviors were moved inside the controller).

The big +1 is that it now allows to set those behaviors by controller, which offers a big boost in flexibility. However, I need now to type hint controller in method handlers for AbstractRestfulController from ZfrRest. I'm not sure this is really a problem, as I can't see someone wanting to use ZfrRest method handlers without using the ZfrRest controller.

Tests were not updated yet, I'm waiting for your review guys :)