17 lines
354 B
PHP
17 lines
354 B
PHP
<?php
|
|
use Psr\Container\ContainerInterface as Container;
|
|
|
|
return [
|
|
ProVM\Common\Alias\View::class => function(Container $c) {
|
|
return new ProVM\Common\Define\View(
|
|
$c->get('folders')->templates,
|
|
$c->get('folders')->cache,
|
|
null,
|
|
[
|
|
'urls' => $c->get('urls'),
|
|
'assets' => $c->get('assets')
|
|
]
|
|
);
|
|
}
|
|
];
|