Skip to content

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

@roxblnfk

Description

@roxblnfk

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions