* cache refresh extended to jcat and streams
This commit is contained in:
16
src/App/Command/UpdateCacheCommandFactory.php
Normal file
16
src/App/Command/UpdateCacheCommandFactory.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user