system/io/ConsoleReader.php

Show: inherited
Table of Contents

Convenience class for reading console input.

Author
Hans Lellelid  
Author
Matthew Hershberger  
Package
phing.system.io  
Version
$Revision: 552 $  

\ConsoleReader

Package: phing\system\io

Convenience class for reading console input.

Parent(s)
\Reader
Author
Hans Lellelid  
Author
Matthew Hershberger  
Version
$Revision: 552 $  

Methods

methodpublicclose( ) : void

methodpubliceof( ) : boolean

Whether eof has been reached with stream.

Returns
Type Description
boolean
methodpublicgetResource( ) : string

Returns path to file we are reading.

Returns
Type Description
string
methodpublicmark( ) : void

methodpublicmarkSupported( ) : void

methodpublicopen( ) : void

methodpublicread( int $len = null ) : string

Parameters
Name Type Description
$len int

Num chars to read.

Returns
Type Description
string chars read or -1 if eof.
methodpublicreadLine( ) : void

methodpublicready( ) : void

methodpublicreset( ) : void

methodpublicskip( ) : void

Documentation was generated by DocBlox 0.17.1.