Created empoty locked command to create shlink database

This commit is contained in:
Alejandro Celaya
2019-08-04 11:30:35 +02:00
parent 7ed85e8916
commit 7fa1f1c63c
5 changed files with 128 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\CLI\Factory;
use Symfony\Component\Console\Helper;
class ProcessHelperFactory
{
public function __invoke(): Helper\ProcessHelper
{
$processHelper = new Helper\ProcessHelper();
$processHelper->setHelperSet(new Helper\HelperSet([
new Helper\FormatterHelper(),
new Helper\DebugFormatterHelper(),
]));
return $processHelper;
}
}