Descriptor
public class Descriptor
Method Summary | |
---|---|
void | |
protected void | write(string content, bool decorated) 输出内容 |
protected string|mixed | describeInputArgument(InputArgument argument, array options) 描述参数 |
protected string|mixed | describeInputOption(InputOption option, array options) 描述选项 |
protected string|mixed | describeInputDefinition(InputDefinition definition, array options) 描述输入 |
protected string|mixed | describeCommand(Command command, array options) 描述指令 |
protected string|mixed | describeConsole(Console console, array options) 描述控制台 |
public void describe(Output output, mixed object, mixed options)
protected void write(string content, bool decorated)
输出内容
protected string|mixed describeInputArgument(InputArgument argument, array options)
描述参数
protected string|mixed describeInputOption(InputOption option, array options)
描述选项
protected string|mixed describeInputDefinition(InputDefinition definition, array options)
描述输入
protected string|mixed describeCommand(Command command, array options)
描述指令
protected string|mixed describeConsole(Console console, array options)
描述控制台