| 1 | <?php |
||
| 12 | class Comparer |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var PHPUnitValueComparer |
||
| 16 | */ |
||
| 17 | private $propertyValueComparer; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var Repository |
||
| 21 | */ |
||
| 22 | private $definitions; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param Repository $definitions |
||
| 26 | */ |
||
| 27 | public function __construct(Repository $definitions) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param $firstEntity |
||
| 35 | * @param $secondEntity |
||
| 36 | * @return bool |
||
| 37 | * @throws InvalidArgumentException |
||
| 38 | * |
||
| 39 | * @api |
||
| 40 | */ |
||
| 41 | public function areEqual($firstEntity, $secondEntity) |
||
| 57 | } |
||
| 58 |