Support the ongoing development of Laravel.io →

JC5

Joined 24 Feb 2014

Statistics

Threads 2
Replies 1
Solutions 0
Articles 0
posted 10 years ago

Dependency injection and creating new objects / auth

Heya, I've been playing around with dependency injection to make things like this mockable: public f...

0 Likes
3 Replies

Event trigger and validation

Hi, When I save a model, I want to validate its contents; I use a validator and a protected array of...

0 Likes
0 Replies
replied 10 years ago

Dependency injection and creating new objects / auth

Mmmm, that sounds good. Mock the auth, and go for it. Does this mean I could still use Laravel's $th...

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.