forked from urvishpatelce/lxd-app
feat: change structure
This commit is contained in:
12
api/src/Dependencies/Dependencies.php
Normal file
12
api/src/Dependencies/Dependencies.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
use DI\ContainerBuilder;
|
||||
use function DI\autowire;
|
||||
use App\Services\LxdService;
|
||||
|
||||
return function (ContainerBuilder $containerBuilder) {
|
||||
// Example service binding
|
||||
$containerBuilder->addDefinitions([
|
||||
\App\Services\LxdService::class => autowire()
|
||||
]);
|
||||
};
|
||||
Reference in New Issue
Block a user