Se agrega seccion de evento
This commit is contained in:
@ -9,5 +9,11 @@ return [
|
||||
'folders.routes' => DI\string(implode(DIRECTORY_SEPARATOR, [
|
||||
'{folders.resources}',
|
||||
'routes'
|
||||
])),
|
||||
'folders.images' => DI\string(implode(DIRECTORY_SEPARATOR, [
|
||||
'{folders.base}',
|
||||
'public',
|
||||
'assets',
|
||||
'images'
|
||||
]))
|
||||
];
|
||||
|
8
bootstrap/common/setup.php
Normal file
8
bootstrap/common/setup.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
use Psr\Container\ContainerInterface as Container;
|
||||
|
||||
return [
|
||||
ProVM\TotalSport\Common\Service\DataHandler::class => function(Container $c) {
|
||||
return new ProVM\TotalSport\Common\Service\DataHandler($c->get('folders.data'));
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user