| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
namespace Symfony\Component\Uid; |
| 13 |
|
| 14 |
if (interface_exists(\Ds\Key::class)) { |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
interface HashableInterface extends \Ds\Key |
| 19 |
{ |
| 20 |
public function equals(mixed $other): bool; |
| 21 |
|
| 22 |
public function hash(): string; |
| 23 |
} |
| 24 |
} elseif (interface_exists(\Ds\Hashable::class)) { |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
interface HashableInterface extends \Ds\Hashable |
| 29 |
{ |
| 30 |
public function hash(): string; |
| 31 |
} |
| 32 |
} else { |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
interface HashableInterface |
| 37 |
{ |
| 38 |
public function equals(mixed $other): bool; |
| 39 |
|
| 40 |
public function hash(): string; |
| 41 |
} |
| 42 |
} |