# ZM\Command\Command ## execute ```php 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 ```php public function shouldExecute(): bool ``` ### 描述 作者很懒,什么也没有说 ### 返回 | 类型 | 描述 | | ---- | ----------- | | bool | | ## handle ```php public function handle(): int ``` ### 描述 作者很懒,什么也没有说 ### 返回 | 类型 | 描述 | | ---- | ----------- | | int | | ## write ```php public function write(string $message, bool $newline): void ``` ### 描述 作者很懒,什么也没有说 ### 参数 | 名称 | 类型 | 描述 | | -------- | ---- | ----------- | | message | string | | | newline | bool | | ### 返回 | 类型 | 描述 | | ---- | ----------- | | void | | ## info ```php public function info(string $message, bool $newline): void ``` ### 描述 作者很懒,什么也没有说 ### 参数 | 名称 | 类型 | 描述 | | -------- | ---- | ----------- | | message | string | | | newline | bool | | ### 返回 | 类型 | 描述 | | ---- | ----------- | | void | | ## error ```php public function error(string $message, bool $newline): void ``` ### 描述 作者很懒,什么也没有说 ### 参数 | 名称 | 类型 | 描述 | | -------- | ---- | ----------- | | message | string | | | newline | bool | | ### 返回 | 类型 | 描述 | | ---- | ----------- | | void | | ## comment ```php public function comment(string $message, bool $newline): void ``` ### 描述 作者很懒,什么也没有说 ### 参数 | 名称 | 类型 | 描述 | | -------- | ---- | ----------- | | message | string | | | newline | bool | | ### 返回 | 类型 | 描述 | | ---- | ----------- | | void | | ## question ```php public function question(string $message, bool $newline): void ``` ### 描述 作者很懒,什么也没有说 ### 参数 | 名称 | 类型 | 描述 | | -------- | ---- | ----------- | | message | string | | | newline | bool | | ### 返回 | 类型 | 描述 | | ---- | ----------- | | void | | ## detail ```php public function detail(string $message, bool $newline): void ``` ### 描述 作者很懒,什么也没有说 ### 参数 | 名称 | 类型 | 描述 | | -------- | ---- | ----------- | | message | string | | | newline | bool | | ### 返回 | 类型 | 描述 | | ---- | ----------- | | void | | ## section ```php public function section(string $message, callable $callback): void ``` ### 描述 作者很懒,什么也没有说 ### 参数 | 名称 | 类型 | 描述 | | -------- | ---- | ----------- | | message | string | | | callback | callable | | ### 返回 | 类型 | 描述 | | ---- | ----------- | | void | |