zfcampus/zf-api-problem — pull request #13 by gsc-frank (2014-01-24 04:35:31+00:00)
Title: Fix event priority.

`Hal`'s renderer listener is attached with priority 100 too, so the 'ZF\ApiProblem\ApiProblemStrategy' listener is executed before the rendering just because right now the module ApiProblem loade first than the module Hal, and that is not cool. I pick 400 as priority value becuase is important that this listener be executed after the `ApiProblemListener::onRender` listener, and the priority of that listener is 1000.

See https://github.com/zfcampus/zf-apigility/pull/17 for related issue.