Fix type hint in phpDoc.
Drop the event propagator and use the dispatcher directly.
Mark methods in factory also deprecated.
Merge branch 'tng' into rework-sorting