17 lines
405 B
PHP
17 lines
405 B
PHP
<?php
|
|
|
|
namespace App\Command;
|
|
|
|
use App\Service\CiExecutorService;
|
|
use Interop\Container\ContainerInterface;
|
|
|
|
class UpdateCacheCommandFactory
|
|
{
|
|
public function __invoke(ContainerInterface $container)
|
|
{
|
|
/** @var CiExecutorService $ciExecutorService */
|
|
$ciExecutorService = $container->get(CiExecutorService::class);
|
|
return new UpdateCacheCommand($ciExecutorService);
|
|
}
|
|
}
|