zendframework/zend-eventmanager

Migration Guide: ListenerAggregateInterface is not compatible

Closed this issue · 5 comments

Running my tests, I find out that ListenerAggregateInterface is not compatibile migrating from v2 to v3 due to a Fatal Error for Incompatible Interface.
Seems that every listener implementing that interface should add the second parameter $priority before to migrate.

Is it right?

@thomasvargiu Correct; that is exactly the path we took when migrating the various ZF components to be forwards-compatible with v3.

@thomasvargiu Do you feel we need to add some verbiage to this effect in the manual? If so, can you indicate the document? Thanks!

@weierophinney I'm sorry, I didn't read this part.
I think it's enough.

So how we should describe our listener at the module config ?

@karborator
Please add your comment here: "#9 - Add a factory for EVM"!