-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdependencies.global.php
More file actions
27 lines (24 loc) · 1.06 KB
/
dependencies.global.php
File metadata and controls
27 lines (24 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
declare(strict_types=1);
use Doctrine\Migrations\Tools\Console\Command\ExecuteCommand;
use Roave\PsrContainerDoctrine\Migrations\CommandFactory;
return [
// Provides application-wide services.
// We recommend using fully qualified class names whenever possible as service names.
'dependencies' => [
// Use 'aliases' to alias a service name to another service.
// The key is the alias name, the value is the service to which it points.
'aliases' => [
// Fully\Qualified\ClassOrInterfaceName::class => Fully\Qualified\ClassName::class,
],
// Use 'invokables' for constructorless services, or services that do not require arguments to the constructor.
// Map a service name to the class name.
'invokables' => [
// Fully\Qualified\InterfaceName::class => Fully\Qualified\ClassName::class,
],
// Use 'factories' for services provided by callbacks/factory classes.
'factories' => [
ExecuteCommand::class => CommandFactory::class,
],
],
];