* cli command support added

* nightly cache update cli command implemented
This commit is contained in:
Dávid Danyi
2017-03-30 12:37:51 +02:00
parent 6e823bc0ea
commit 68e66ddedf
7 changed files with 87 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace App\Command;
use App\Service\CiExecutorService;
use Interop\Container\ContainerInterface;
class UpdateNightlyCacheCommandFactory
{
public function __invoke(ContainerInterface $container)
{
/** @var CiExecutorService $ciExecutorService */
$ciExecutorService = $container->get(CiExecutorService::class);
return new UpdateNightlyCacheCommand($ciExecutorService);
}
}