PHP Class think\debug\Console

Datei anzeigen Open project: top-think/framework

Protected Properties

Property Type Description
$config

Public Methods

Method Description
__construct ( $config = [] ) 实例化并传入参数
output ( Response $response, array $log = [] ) : boolean 调试输出接口

Protected Methods

Method Description
console ( $type, $msg )

Method Details

__construct() public method

实例化并传入参数
public __construct ( $config = [] )

console() protected method

protected console ( $type, $msg )

output() public method

调试输出接口
public output ( Response $response, array $log = [] ) : boolean
$response think\Response Response对象
$log array 日志信息
return boolean

Property Details

$config protected_oe property

protected $config