Support the ongoing development of Laravel.io →

hireahenchman

Joined 21 Dec 2014

Statistics

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

Laravel 5 Dependancy injected class in to another class

Hi i'm having a bit of trouble trying to inject a class in laravel 5 in to another repository class....

0 Likes
6 Replies

Homestead Vagrant Box - Filesize!

Hi so i'm having a go at setting up Homestead in Vagrant. It's the first time I've used Vagrant so I...

0 Likes
5 Replies

Functions in models - static or create a facade?

Hi I've been using larval for a while now but I really want to make sure I'm doing this correctly an...

0 Likes
3 Replies
replied 7 years ago

Call to undefined method Illuminate\Foundation\Application::share()

In the end I removed all the components in the "require" part of my composer.json file exc...

0 Likes
replied 7 years ago

Call to undefined method Illuminate\Foundation\Application::share()

Exact same problem here when trying to update from L5.3. Anyone found a solution yet? I've tried del...

0 Likes
replied 9 years ago

Laravel 5 Dependancy injected class in to another class

Ok so I don't think it's ideal but calling the full repo namespace in the function that needs it has...

0 Likes
replied 9 years ago

Laravel 5 Dependancy injected class in to another class

Unfortunately that doesn't work either. The only way I've found to do it is to inject the interface...

0 Likes
replied 9 years ago

Laravel 5 Dependancy injected class in to another class

I can indeed. Here's how I bind it. It seems to work for other repo's and works for Image independen...

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.