Support the ongoing development of Laravel.io →

tlshaheen

Joined 14 Oct 2014

Statistics

Threads 2
Replies 4
Solutions 0
Articles 0

Custom ServiceProvider not loading via web, but loads via phpunit? (L4.2)

I'm using Laravel 4.2. I have a custom ServiceProvider that is registered in app.php. My code wasn't...

0 Likes
2 Replies
Solved

Dependency injection + ServiceProvider with custom class?

I'm having trouble understanding best practices for using dependency injection with my custom classe...

0 Likes
6 Replies
Solved
replied 10 years ago

Custom ServiceProvider not loading via web, but loads via phpunit? (L4.2)

TerrePorter said: Could be a bad meta-data cache, try artisan clear-compiled or you can just delete...

0 Likes
replied 10 years ago

Dependency injection + ServiceProvider with custom class?

tlshaheen said: I'm getting a Unresolvable dependency resolving [Parameter #0 [ <required> $a...

0 Likes
replied 10 years ago

Dependency injection + ServiceProvider with custom class?

danharper said: For Laravel to initialise your object, you need to ask it to. Here we're telling La...

0 Likes
replied 10 years ago

Dependency injection + ServiceProvider with custom class?

Hi, I did. I know the service provider file is getting loaded, because if I force a PHP syntax error...

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.