Support the ongoing development of Laravel.io →

bambamboole

Joined 20 Mar 2017

Statistics

Threads 0
Replies 1
Solutions 1
Articles 0

bambamboole has not posted any threads yet

replied 7 years ago

Is there any benefit to specifying a class instead of a string in a model's relations?

This works since PHP5.5 it returnes a String with the class name and its fully qualified namespace....

0 Likes
Solved

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.