I want to create a 'Logger' class that has many 'LogEntries'. I want my LogEntries to belong to 'Logger' but I don't want to create a table for 'Logger'. I want all LogEntries to belong to a single instance of Logger, there is no 'logger_id' on 'LogEntries', all records belong to a single 'Logger'. Is this sort of relationship possible in Laravel?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire