PHP Class PhpSpec\Formatter\Presenter\Differ\ObjectEngine

Inheritance: implements PhpSpec\Formatter\Presenter\Differ\DifferEngine
Show file Open project: phpspec/phpspec

Public Methods

Method Description
__construct ( SebastianBergmann\Exporter\Exporter $exporter, StringEngine $stringDiffer )
compare ( object $expected, object $actual ) : string
supports ( mixed $expected, mixed $actual ) : boolean

Method Details

__construct() public method

public __construct ( SebastianBergmann\Exporter\Exporter $exporter, StringEngine $stringDiffer )
$exporter SebastianBergmann\Exporter\Exporter
$stringDiffer StringEngine

compare() public method

public compare ( object $expected, object $actual ) : string
$expected object
$actual object
return string

supports() public method

public supports ( mixed $expected, mixed $actual ) : boolean
$expected mixed
$actual mixed
return boolean