mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-09 01:35:35 +08:00
3.0 KiB
3.0 KiB
ZM\Command\Command
execute
public function execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| input | Symfony\Component\Console\Input\InputInterface | |
| output | Symfony\Component\Console\Output\OutputInterface |
返回
| 类型 | 描述 |
|---|---|
| int |
shouldExecute
public function shouldExecute(): bool
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| bool |
handle
public function handle(): int
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| int |
write
public function write(string $message, bool $newline): void
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| newline | bool |
返回
| 类型 | 描述 |
|---|---|
| void |
info
public function info(string $message, bool $newline): void
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| newline | bool |
返回
| 类型 | 描述 |
|---|---|
| void |
error
public function error(string $message, bool $newline): void
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| newline | bool |
返回
| 类型 | 描述 |
|---|---|
| void |
comment
public function comment(string $message, bool $newline): void
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| newline | bool |
返回
| 类型 | 描述 |
|---|---|
| void |
question
public function question(string $message, bool $newline): void
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| newline | bool |
返回
| 类型 | 描述 |
|---|---|
| void |
detail
public function detail(string $message, bool $newline): void
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| newline | bool |
返回
| 类型 | 描述 |
|---|---|
| void |
section
public function section(string $message, callable $callback): void
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| callback | callable |
返回
| 类型 | 描述 |
|---|---|
| void |