The mapping is not recognized when you do not use annotations in your project. This can be done like this : https://github.com/KnpLabs/DoctrineBehaviors/commit/3f7792cbf49221f28bc20bbb05da34fa8d226821
The mapping is not recognized when you do not use annotations in your project. This can be done like this : KnpLabs/DoctrineBehaviors@3f7792c