PHP Class Browscap\Generator\DiffGenerator

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

Public Methods

Method Description
run ( string $leftFilename, string $rightFilename ) Entry point for generating builds for a specified version
setLogger ( Psr\Log\LoggerInterface $logger ) : DiffGenerator

Private Methods

Method Description
compareSectionProperties ( string $section, array $leftPropDifferences, array $rightPropDifferences, array $rightProps )
recursiveArrayDiff ( array $leftArray, array $rightArray ) : array

Method Details

run() public method

Entry point for generating builds for a specified version
public run ( string $leftFilename, string $rightFilename )
$leftFilename string
$rightFilename string

setLogger() public method

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