Support the ongoing development of Laravel.io →

Dmitri-Sintsov

Joined 18 Aug 2014

Statistics

Threads 2
Replies 3
Solutions 0
Articles 0

Usage of namespaces with Laravel models.

I found namespaces usage of Laravel models being non-orthogonal. When you create relation, namespace...

0 Likes
2 Replies
posted 10 years ago

Model deleting event does not work

<?php use Illuminate\Auth\UserTrait; use Illuminate\Auth\UserInterface; use Illuminate\Auth\Remi...

0 Likes
3 Replies
replied 10 years ago

Usage of namespaces with Laravel models.

Yes you are right, I have method UserRole::role() and that's what's called when ->with() is execu...

0 Likes
replied 10 years ago

Model deleting event does not work

No, migrations do not define DB foreign keys. There are only Eloquent "virtual" foreign ke...

0 Likes
replied 10 years ago

Model deleting event does not work

It works with the same User model and UsersTest unit test when I place the following code into app/f...

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.