File tree Expand file tree Collapse file tree 4 files changed +5
-10
lines changed
Expand file tree Collapse file tree 4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ phpunit.xml
44.phpunit.result.cache
55.idea
66test
7+ .DS_Store
Original file line number Diff line number Diff line change 11<?php
22
3- use Leaf \View ;
4-
53return [
64 /*
75 |--------------------------------------------------------------------------
2220 | Configuration for your templating engine.
2321 |
2422 */
25- 'config ' => function ($ config ) {
26- View::bareui ()->config ($ config ['views ' ]);
27- },
23+ 'config ' => null ,
2824
2925 /*
3026 |--------------------------------------------------------------------------
3531 | in your app if you're using a custom view engine.
3632 |
3733 */
38- 'render ' => function ($ view , $ data = []) {
39- return View::bareui ()->render ($ view , $ data );
40- },
34+ 'render ' => null ,
4135];
Original file line number Diff line number Diff line change 2323 |
2424 */
2525 'config ' => function ($ config ) {
26- View:: blade ( )->configure ($ config ['views ' ], $ config ['cache ' ]);
26+ \ Leaf \Config:: get ( ' views.blade ' )->configure ($ config ['views ' ], $ config ['cache ' ]);
2727 },
2828
2929 /*
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "leafs/leaf" : " ^3.0 "
3+ "leafs/leaf" : " * "
44 }
55}
You can’t perform that action at this time.
0 commit comments