Skip to content

Parent presenter usage ends with "Multiple services of type ... found" #258

@KacerCZ

Description

@KacerCZ

Version: 3.0.4

Bug Description

When presenter class is inherited to another presenter, then parent presenter usage ends with error "Multiple services of type ... found"

Steps To Reproduce

Create presenter with name ParentPresenter and another presenter ChildPresenter inheriting from ParentPresenter.
Add presenters to composer classmap and dump optimized class loader.
Try access ParentPresenter and BadRequestException is thrown with message "Multiple services of type ..."

Expected Behavior

I expect ParentPresenter to be run as was in version 2.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions