PHP Class BrowscapPHP\Util\Logfile\AbstractReader

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

Public Methods

Method Description
read ( string $line ) : string
test ( string $line ) : boolean

Protected Methods

Method Description
getRegex ( ) : string
match ( string $line ) : array

Method Details

getRegex() abstract protected method

abstract protected getRegex ( ) : string
return string

match() protected method

protected match ( string $line ) : array
$line string
return array

read() public method

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

test() public method

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