Support the ongoing development of Laravel.io →

wppd

Joined 12 Feb 2014

Statistics

Threads 3
Replies 3
Solutions 0
Articles 0
posted 9 years ago

(Need advice) instantiate a model with some constraints

I'm creating a membership site. Let's just say that, user will have photos. when user logged in, thi...

0 Likes
0 Replies
posted 9 years ago

The $model returned by the create method of Model doesn't contain all attributes such as deleted_at

for example: $input = ['username'=>'abcd123']; $user = \User::create($input); $user attributes:...

0 Likes
4 Replies
Solved
posted 10 years ago

Laravel IoC Multiple Subclasses Bindings Confusion

I have one abstract class AbstractValidator. Currently, I have two subclasses, LoginValidator and Si...

0 Likes
3 Replies
Solved
replied 9 years ago

The $model returned by the create method of Model doesn't contain all attributes such as deleted_at

kokokurak said: I believe this is designed this way to limit number of SQL queries. If you need to...

0 Likes
replied 10 years ago

Check if @yield('something') is set

I have encountered this similar problem before. I end up with View composer class MetaComposer{...

0 Likes
replied 10 years ago

Laravel IoC Multiple Subclasses Bindings Confusion

Thanks @Herlevsen That's what I'm doing now. I'm pretty new to OOP and I'd like to stick to the best...

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.