another question. I have an abstract BaseLog Entity object that communicates with my user. In addition, I have 2 objects (FooLog and BarLog) that extend BaseLog. In addition, I have a User Entity, which supposedly should contain two associations in Log. One for FooLog and one for BarLog. Here is my problem. I get error messages because I donβt know how to overwrite the BaseLog inversedBy field in the Entity extension. Could you help me.
Because I think my explanation is not very good, here is the setup of my entities.
Baselog
abstract class BaseLog { private $user; }
Foolog
class FooLog extends BaseLog {
Barlog
class BarLog extends BaseLog {
User
class User { private $fooLogs; private $barLogs; }
How do I rewrite BaseLog inversedBy in FooLog and BarLog.
I get a few matching errors in this setting: BaseLog
- BaseLog:. The user of the BaseLog # association refers to reverse side-field custom logs that do not exist.
- FooLog:. The user association FooLog # refers to backward field logs User # that do not exist.
- BarLog: The BarLog # association user refers to back side field logs User # that do not exist.
- User: Mappings User # fooLogs and user FooLog # are not compatible with each other.
- User: The mappings of User # barLogs and user BarLog # are not compatible with each other.
Please help me sort the sort.
dj_thossi
source share