First commit
这个提交存在于:
当前提交
c6e2478c40
共有 13918 个文件被更改,包括 2303184 次插入 和 0 次删除
26
vendor/symfony/console/Tests/Fixtures/FooSubnamespaced1Command.php
Vendored
普通文件
26
vendor/symfony/console/Tests/Fixtures/FooSubnamespaced1Command.php
Vendored
普通文件
|
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class FooSubnamespaced1Command extends Command
|
||||
{
|
||||
public $input;
|
||||
public $output;
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('foo:bar:baz')
|
||||
->setDescription('The foo:bar:baz command')
|
||||
->setAliases(array('foobarbaz'))
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->input = $input;
|
||||
$this->output = $output;
|
||||
}
|
||||
}
|
||||
正在加载…
添加表格
添加链接
在新工单中引用