2022-11-09 15:22:58 -03:00
|
|
|
<?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'),
|
2022-11-29 11:12:06 -03:00
|
|
|
'api_key' => $container->get('api_key')
|
2022-11-09 15:22:58 -03:00
|
|
|
]
|
|
|
|
);
|
|
|
|
}
|
|
|
|
];
|