You combined two different methods - unfortunately together they fail. You used:
View::make('hello')->with(['test1'=>2,'test3'=>'fotune']);
Instead you could use:
View::make('hello')->with('test1', 2)->with('test3', 'fotune');
or
View::make('hello', ['test1'=>2,'test3'=>'fotune']);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community