17 lines
439 B
PHP
17 lines
439 B
PHP
|
<?php
|
||
|
use Psr\Container\ContainerInterface;
|
||
|
|
||
|
return [
|
||
|
\Slim\Views\Blade::class => function(ContainerInterface $container) {
|
||
|
return new \Slim\Views\Blade(
|
||
|
$container->get('folders')->views,
|
||
|
$container->get('folders')->cache,
|
||
|
null,
|
||
|
[
|
||
|
'urls' => $container->get('urls'),
|
||
|
'api_key' => sha1($container->get('api_key'))
|
||
|
]
|
||
|
);
|
||
|
}
|
||
|
];
|