PHP Class Cml\Console\IO\Output

Afficher le fichier Open project: linhecheng/cmlphp Class Usage Examples

Méthodes publiques

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

Method Details

write() public static méthode

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

writeException() public static méthode

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

writeln() public static méthode

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