Support the ongoing development of Laravel.io →

ckissi

Joined 9 Jun 2014

Statistics

Threads 2
Replies 8
Solutions 0
Articles 0

Eloquent deleting model event doesn't fire

I have 2 models defined: Program model: class Program extends \Eloquent { protected $guarded =...

0 Likes
8 Replies
Solved

Eloquent eager loading, cannot access relation data

Hello, I have 2 models. One is "developer" and the second is "program". One deve...

0 Likes
12 Replies
replied 9 years ago

Eloquent deleting model event doesn't fire

@TerrePorter, thanx ! , it was the "first()" thank you for the reference to https://github...

0 Likes
replied 9 years ago

Eloquent deleting model event doesn't fire

TerrePorter said: I think your missing a param in the where Program::where('name', '=' ,Input::get(...

0 Likes
replied 9 years ago

Eloquent eager loading, cannot access relation data

ckissi said: My bad, I got ahead of myself. As others have stated: foreach ($developers as $develo...

0 Likes
replied 9 years ago

Eloquent eager loading, cannot access relation data

My bad, I got ahead of myself. As others have stated: foreach ($developers as $developer) { fore...

0 Likes
replied 9 years ago

Eloquent eager loading, cannot access relation data

zenry said: typo, $developers var_dump($developer->programs) returns string(2) "13"...

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.