16 lines
309 B
PHP
16 lines
309 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Action;
|
||
|
|
|
||
|
|
use App\Service\CiConfigService;
|
||
|
|
use Interop\Container\ContainerInterface;
|
||
|
|
|
||
|
|
class CiConfigFactory
|
||
|
|
{
|
||
|
|
public function __invoke(ContainerInterface $container)
|
||
|
|
{
|
||
|
|
$service = $container->get(CiConfigService::class);
|
||
|
|
return new CiConfigAction($service);
|
||
|
|
}
|
||
|
|
}
|