| 1 | <?php |
||
| 10 | class GeneratedIntegerIdEntity implements IntegerIdEntityInterface |
||
| 11 | { |
||
| 12 | /** @var int */ |
||
| 13 | private $id; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritdoc} |
||
| 17 | */ |
||
| 18 | 12 | public function getId(): ?int |
|
| 22 | |||
| 23 | public function isPersisted(): bool |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Checks if this entity represents the same entity as another one. Usually this is checked via the class and id. |
||
| 30 | * |
||
| 31 | * @param mixed $other |
||
| 32 | * |
||
| 33 | * @return bool |
||
| 34 | */ |
||
| 35 | public function isSame($other): bool |
||
| 53 | } |
||
| 54 |