RobertBaelde's avatar

Lumen repository access Illuminate and eloquent classes

When i use an repository in Lumen i need to specify every path to the class i need using use \illuminate\support\Facades\Cache; for example. In Laravel 4 all those classes where already available in my repo. Is there a way to have them (and my eloquent models) autoload in the repository? Like in Laravel 4?

0 likes
1 reply
Ozan's avatar

You have to manually instantiate the classes you need i guess.

Please or to participate in this conversation.