Skip to content

Remove ActionEventListener interface #55

@prolic

Description

@prolic

RFC for prooph/common 4.0

  • remove \Prooph\Common\Event\ActionEventListener

reason: callable is just fine enough, this would lead to strict type hints and return values. No messing up with phpdoc and callable|ActionEventListener and all these additional checks in a method like:

if (! $listener instanceof ActionEventListener && !is_callable($listener)) {

thoughts? /cc @codeliner @sandrokeil @bweston92

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions