Support the ongoing development of Laravel.io →
JC5

JC5

Joined 24 Feb 2014

Statistics

Threads 2
Replies 1
Solutions 0
Articles 0

Dependency injection and creating new objects / auth

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

Likes 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...

Likes Replies
8 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?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.