Oh... I found this comment:
// If the "attribute" exists as a method on the model, we will just assume
// it is a relationship and will load and return results from the query
// and hydrate the relationship's value on the "relationships" array.
Strange behavior. It seems you cant have attribute and method with same name.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us