Answer the question
In order to leave comments, you need to log in
How to override the view::make method?
Tried like this
use Illuminate\Contracts\View\Factory as ViewFactory;
use App\Services\ViewFactory as Factory;
$this->app->bind(ViewFactory::class, Factory::class);
Target [Illuminate\View\ViewFinderInterface] is not instantiable while building [App\Services\ViewFactory].
namespace App\Services;
use Illuminate\View\Factory;
class ViewFactory extends Factory
{
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question