KnpLabs / DoctrineBehaviors

Doctrine2 behavior traits that help handling Blameable, Loggable, Sluggable, SoftDeletable, Uuidable, Timestampable, Translatable, Tree behavior
http://knplabs.com
MIT License
911 stars 287 forks source link

Blameable is using a string instead of object reference #583

Closed parijke closed 3 years ago

parijke commented 3 years ago

Is this the correct behaviour? Use case: I want to call some methods on the user who is the CreatedBy

parijke commented 3 years ago

Found it

services.yaml

parameters: doctrine_behaviors_blameable_user_entity: App\Entity\User