Support the ongoing development of Laravel.io →

robstel

Joined 7 Apr 2014

Statistics

Threads 0
Replies 2
Solutions 1
Articles 0

robstel has not posted any threads yet

replied 9 years ago

Eloquent Relationships

The SQL generated by hasOne is actually select * from phones where user_id = 1 limit 1 The limit 1...

0 Likes
replied 10 years ago

Calling a method from another method in a class.

public function edit($id) { return $this->show($id); } You need to return the value.

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.