Zhamao Framework 3.2.4
A high-performance chatbot + web framework
载入中...
搜索中...
未找到
ConsoleApplication类 参考
类 ConsoleApplication 继承关系图:
[图例]
ConsoleApplication 的协作图:
[图例]

Public 成员函数

 __construct (string $name='zhamao-framework')
 
 doRun (InputInterface $input, OutputInterface $output)
 
 registerGlobalOptions ()
 

Protected 成员函数

 doRunCommand (Command $command, InputInterface $input, OutputInterface $output)
 

详细描述

命令行启动的入口文件,用于初始化环境变量,并启动命令行应用

这里启动的不是框架,而是框架相关的命令行环境

构造及析构函数说明

◆ __construct()

__construct ( string  $name = 'zhamao-framework')

成员函数说明

◆ doRun()

doRun ( InputInterface  $input,
OutputInterface  $output 
)

{}

函数调用图:

◆ doRunCommand()

doRunCommand ( Command  $command,
InputInterface  $input,
OutputInterface  $output 
)
protected

{}

◆ registerGlobalOptions()

registerGlobalOptions ( )

注册全局选项,应用到所有命令


该类的文档由以下文件生成: