PHP Class Cml\Console\IO\Output

ファイルを表示 Open project: linhecheng/cmlphp Class Usage Examples

Public Methods

Method Description
write ( string $text, mixed $pipe = STDOUT ) 输出内容
writeException ( mixed $e ) 输出异常错误信息
writeln ( string $text = '', mixed $pipe = STDOUT ) 输出内容并换行

Method Details

write() public static method

输出内容
public static write ( string $text, mixed $pipe = STDOUT )
$text string
$pipe mixed

writeException() public static method

输出异常错误信息
public static writeException ( mixed $e )
$e mixed

writeln() public static method

输出内容并换行
public static writeln ( string $text = '', mixed $pipe = STDOUT )
$text string
$pipe mixed