php-extension-check/config/serviceManager.php

22 sor
836 B
PHP

2021-05-08 21:09:48 +00:00
<?php
2021-05-08 22:50:26 +00:00
2021-05-08 21:09:48 +00:00
use Fbrinker\ExtensionCheck\Command\CheckCommand;
use Fbrinker\ExtensionCheck\Command\CheckCommandFactory;
use Fbrinker\ExtensionCheck\Extension\ExtensionCheck;
use Fbrinker\ExtensionCheck\Extension\ExtensionCheckFactory;
use Fbrinker\ExtensionCheck\Extension\ExtensionDetails;
2021-05-08 22:50:26 +00:00
use Fbrinker\ExtensionCheck\Output\SymfonyStyleFactory;
2021-05-08 21:09:48 +00:00
use Fbrinker\ExtensionCheck\Parser\FileParser;
use Fbrinker\ExtensionCheck\Parser\FileParserFactory;
use Laminas\ServiceManager\Factory\InvokableFactory;
return [
'factories' => [
2021-05-08 22:50:26 +00:00
CheckCommand::class => CheckCommandFactory::class,
2021-05-08 21:09:48 +00:00
ExtensionCheck::class => ExtensionCheckFactory::class,
ExtensionDetails::class => InvokableFactory::class,
FileParser::class => FileParserFactory::class,
2021-05-08 22:50:26 +00:00
SymfonyStyleFactory::class => InvokableFactory::class,
2021-05-08 21:09:48 +00:00
],
2021-05-08 22:50:26 +00:00
];