16 lines
353 B
PHP
16 lines
353 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')
|
||
|
]
|
||
|
);
|
||
|
}
|
||
|
];
|