Closure comparator.
- Author
 - Konstantin Kudryashov ever..nosp@m.zet@.nosp@m.gmail.nosp@m..com 
 
 | 
|   | accepts ($expected, $actual) | 
|   | 
|   | assertEquals ($expected, $actual, $delta=0.0, $canonicalize=false, $ignoreCase=false, array &$processed=array()) | 
|   | 
|   | __construct () | 
|   | 
|   | setFactory (Factory $factory) | 
|   | 
|   | assertEquals ($expected, $actual, $delta=0.0, $canonicalize=false, $ignoreCase=false) | 
|   | 
◆ accepts()
      
        
          | Prophecy\Comparator\ClosureComparator::accepts  | 
          ( | 
            | 
          $expected,  | 
        
        
           | 
           | 
            | 
          $actual  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Returns whether the comparator can compare two values.
- Parameters
 - 
  
    | mixed | $expected | The first value to compare  | 
    | mixed | $actual | The second value to compare | 
  
   
- Returns
 - bool 
 
Reimplemented from SebastianBergmann\Comparator\Comparator.
 
 
◆ assertEquals()
      
        
          | Prophecy\Comparator\ClosureComparator::assertEquals  | 
          ( | 
            | 
          $expected,  | 
        
        
           | 
           | 
            | 
          $actual,  | 
        
        
           | 
           | 
            | 
          $delta = 0.0,  | 
        
        
           | 
           | 
            | 
          $canonicalize = false,  | 
        
        
           | 
           | 
            | 
          $ignoreCase = false,  | 
        
        
           | 
           | 
          array &  | 
          $processed = array()  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
The documentation for this class was generated from the following file: