2016-04-16 05:57:11 -05:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
2016-04-17 13:27:24 -05:00
|
|
|
use Interop\Container\ContainerInterface;
|
2016-07-03 02:14:27 -05:00
|
|
|
use Symfony\Component\Console\Application as CliApp;
|
2016-08-01 13:44:45 -05:00
|
|
|
use Symfony\Component\Console\Application;
|
|
|
|
use Zend\I18n\Translator\Translator;
|
2016-04-16 05:57:11 -05:00
|
|
|
|
2016-04-17 13:27:24 -05:00
|
|
|
/** @var ContainerInterface $container */
|
|
|
|
$container = include __DIR__ . '/../config/container.php';
|
2016-04-16 05:57:11 -05:00
|
|
|
|
2016-08-01 13:44:45 -05:00
|
|
|
/** @var Translator $translator */
|
|
|
|
$translator = $container->get('translator');
|
|
|
|
$translator->setLocale(env('CLI_LOCALE', 'en'));
|
|
|
|
|
|
|
|
/** @var Application $app */
|
2016-07-05 16:25:39 -05:00
|
|
|
$app = $container->get(CliApp::class);
|
2016-07-03 02:14:27 -05:00
|
|
|
$app->run();
|