Lggr
Public Member Functions | List of all members
SebastianBergmann\Comparator\DateTimeComparator Class Reference
Inheritance diagram for SebastianBergmann\Comparator\DateTimeComparator:
Inheritance graph
[legend]
Collaboration diagram for SebastianBergmann\Comparator\DateTimeComparator:
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)
 

Additional Inherited Members

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

Detailed Description

Compares DateTimeInterface instances for equality.

Member Function Documentation

◆ accepts()

SebastianBergmann\Comparator\DateTimeComparator::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.


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