Controller now is deprecated in favor of BaseController and other traits that have injected dependencies. It seems strange for the EventListener interface extend Controller so I just removed the trait. The example was also using request2lang which would break if global state were disabled.
Controller
now is deprecated in favor ofBaseController
and other traits that have injected dependencies. It seems strange for theEventListener
interface extendController
so I just removed the trait. The example was also usingrequest2lang
which would break if global state were disabled.