Support the ongoing development of Laravel.io →
posted 9 years ago
Eloquent
Last updated 2 years ago.
0

Replace your exception with

return parent::__call($method, $arguments):

This way if the magic method does not match your criteria it will pass the processing back up to the eloquent model and allow for it to process the magic method.

Last updated 9 years ago.
0

@jeffberry - that helped! Thank you!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

kokokurak kokokurak Joined 21 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.