#!/usr/bin/env php
<?php
// application.php
require DIR . ‘/../vendor/autoload.php’;
use Symfony\Component\Console\Application;
$application = new Application();
$application->setName(‘测试 Symfony Console 命令行工具’);
$application->setVersion(‘0.0.1’);
$application->add(new \App\Commands\TestCommand());
$application->run();
https://www.0php.net/posts/%E4%BD%BF%E7%94%A8-Symfony-Console-%E7%BB%84%E4%BB%B6%E6%9E%84%E5%BB%BA%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%BA%94%E7%94%A8.html
https://segmentfault.com/a/1190000005084734
https://learnku.com/articles/22667
https://blog.csdn.net/kangsf1989/article/details/83152914
https://blog.csdn.net/u011323949/article/details/79310752
https://juejin.im/entry/6844903536724017160
http://www.symfonychina.com/doc/current/components/var_dumper.html
https://www.jianshu.com/p/df5752dc546e
https://segmentfault.com/a/1190000003032168
https://codecasts.com/blog/post/a-brand-new-way-to-test-php-with-symfony-vardumper