mitchellvanw / laravel-doctrine

NO LONGER MAINTAINED! A Doctrine 2 implementation that melts with Laravel
MIT License
187 stars 74 forks source link

Eloquent-ish models #97

Closed fedeisas closed 9 years ago

fedeisas commented 9 years ago

I'm currently tweaking this library, and I started to implement some interfaces from Eloquent on my BaseModel, such as Arrayable, Jsonable, ArrayAccess, etc.

Is this something you would consider merging?

Thanks!

kirkbushell commented 9 years ago

Probably not - the reason why many of us like Doctrine and its entities, is because they're devoid of any logic other than the business domain that is specific to the entity. This results in much simpler, easier-to-manage entities than you generally get with an ActiveRecord implementation (which knows far too much of the underlying system).