18 lines
400 B
PHP
18 lines
400 B
PHP
|
<?php
|
||
|
use Psr\Container\ContainerInterface as Container;
|
||
|
|
||
|
return [
|
||
|
Slim\Views\Blade::class => function(Container $c) {
|
||
|
return new Slim\Views\Blade(
|
||
|
$c->get('folders.templates'),
|
||
|
$c->get('folders.cache'),
|
||
|
null,
|
||
|
[
|
||
|
'base_url' => $c->get('urls.base'),
|
||
|
'page_language' => 'es',
|
||
|
'assets' => $c->get('web.assets')
|
||
|
]
|
||
|
);
|
||
|
}
|
||
|
];
|