PHP Class Browscap\Generator\GrepGenerator

Author: Thomas Müller ([email protected])
Datei anzeigen Open project: browscap/browscap Class Usage Examples

Public Methods

Method Description
run ( Browscap $browscap, string $inputFile, string $mode ) Entry point for generating builds for a specified version
setLogger ( Psr\Log\LoggerInterface $logger ) : GrepGenerator

Private Methods

Method Description
testUA ( string $ua, string $mode ) : string

Method Details

run() public method

Entry point for generating builds for a specified version
public run ( Browscap $browscap, string $inputFile, string $mode )
$browscap BrowscapPHP\Browscap
$inputFile string
$mode string

setLogger() public method

public setLogger ( Psr\Log\LoggerInterface $logger ) : GrepGenerator
$logger Psr\Log\LoggerInterface
return GrepGenerator