staudenmeir / eloquent-has-many-deep

Laravel Eloquent HasManyThrough relationships with unlimited levels
MIT License
2.67k stars 157 forks source link

Add newRelatedDeepThroughInstance method #171

Closed hafezdivandari closed 2 years ago

hafezdivandari commented 2 years ago

I have a use case that I have to override this method, Laravel eloquent model already has newRelatedInstance and newRelatedThroughInstance methods with similar purpose. It would be very useful to have the same pattern here.

staudenmeir commented 2 years ago

Thanks, I'll release a new version soon.