PHP Class BrowscapPHP\Util\Logfile\ReaderCollection

Author: Dave Olsen, http://dmolsen.com
Inheritance: implements BrowscapPHP\Util\Logfile\ReaderInterface
显示文件 Open project: browscap/browscap-php Class Usage Examples

Public Methods

Method Description
addReader ( BrowscapPHP\Util\Logfile\ReaderInterface $reader ) : ReaderCollection adds a new reader to this collection
read ( string $line ) : string
test ( string $line ) : boolean

Method Details

addReader() public method

adds a new reader to this collection
public addReader ( BrowscapPHP\Util\Logfile\ReaderInterface $reader ) : ReaderCollection
$reader BrowscapPHP\Util\Logfile\ReaderInterface
return ReaderCollection

read() public method

public read ( string $line ) : string
$line string
return string

test() public method

public test ( string $line ) : boolean
$line string
return boolean