Closed ghost closed 6 years ago
It seems there is a bug when the name of the service is the class name.
You can write:
product_model:
class: App\Infrastructure\Model\ProductModel
public: true
tags: [pomm.model]
Thanks :+1:
Hi, I have a problem since I put version 2.4. My models declarent as Symfony services like that :
I have an error when used my model :
An alias can not reference itself, got a circular reference on ProductModel
I tried to delete
tags: [pomm.model]
but a new error has occured :ProductModel is not registered against the session