Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Undefined class or binding 'Cycle\ORM\ORMInterface` on a listener resolving #26

Open
1 task done
roxblnfk opened this issue Aug 23, 2022 · 0 comments
Open
1 task done
Assignees
Labels
status:to be verified Needs to be reproduced and validated. type:bug Bug

Comments

@roxblnfk
Copy link
Member

No duplicates 🥲.

  • I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?

The ORM factroy throws an exception on resolving this listener

    public function __construct(
        private ORMInterface $orm,
        private EntityManagerInterface $em,
    ) {
    }

The message of the exception is Spiral\Core\Exception\Container\NotFoundException: Undefined class or binding 'Cycle\ORM\ORMInterface

Version

entity-behavior v1.1.1
orm v2.1.0,
PHP 8.1

@roxblnfk roxblnfk added type:bug Bug status:to be verified Needs to be reproduced and validated. labels Aug 23, 2022
@roxblnfk roxblnfk self-assigned this Aug 23, 2022
@roxblnfk roxblnfk added this to Cycle Aug 23, 2022
@roxblnfk roxblnfk moved this to Todo in Cycle Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:to be verified Needs to be reproduced and validated. type:bug Bug
Projects
Status: Todo
Development

No branches or pull requests

1 participant