Support the ongoing development of Laravel.io →

aphiwadChhoeun

Joined 12 Feb 2015

Statistics

Threads 0
Replies 1
Solutions 0
Articles 0

aphiwadchhoeun has not posted any threads yet

replied 9 years ago

Dynamic properties for many-to-one relationships?

try public function type() { return belongsTo('App\\AccountType', 'account_id', 'id'); } and ac...

0 Likes

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.