Lggr
Public Member Functions | Protected Member Functions | List of all members
SebastianBergmann\Comparator\ExceptionComparator Class Reference
Inheritance diagram for SebastianBergmann\Comparator\ExceptionComparator:
Inheritance graph
[legend]
Collaboration diagram for SebastianBergmann\Comparator\ExceptionComparator:
Collaboration graph
[legend]

Public Member Functions

 accepts ($expected, $actual)
 
- Public Member Functions inherited from SebastianBergmann\Comparator\ObjectComparator
 assertEquals ($expected, $actual, $delta=0.0, $canonicalize=false, $ignoreCase=false, array &$processed=[])
 
- Public Member Functions inherited from SebastianBergmann\Comparator\Comparator
 setFactory (Factory $factory)
 
 assertEquals ($expected, $actual, $delta=0.0, $canonicalize=false, $ignoreCase=false)
 

Protected Member Functions

 toArray ($object)
 
- Protected Member Functions inherited from SebastianBergmann\Comparator\ArrayComparator
 indent ($lines)
 

Additional Inherited Members

- Protected Attributes inherited from SebastianBergmann\Comparator\Comparator
 $factory
 
 $exporter
 

Detailed Description

Compares Exception instances for equality.

Member Function Documentation

◆ accepts()

SebastianBergmann\Comparator\ExceptionComparator::accepts (   $expected,
  $actual 
)

Returns whether the comparator can compare two values.

Parameters
mixed$expectedThe first value to compare
mixed$actualThe second value to compare
Returns
bool

Reimplemented from SebastianBergmann\Comparator\ObjectComparator.

◆ toArray()

SebastianBergmann\Comparator\ExceptionComparator::toArray (   $object)
protected

Converts an object to an array containing all of its private, protected and public properties.

Parameters
object$object
Returns
array

Reimplemented from SebastianBergmann\Comparator\ObjectComparator.


The documentation for this class was generated from the following file: