20241102#1

This commit is contained in:
User committed 2024-11-02 07:31:03 +03:00
1 parent 1b0af12a46
commit 035f88ea72
33 files changed
+56 -54

No files matched your search

@@ -0,0 +1,17 @@
<?php
/**
* Created by PhpStorm.
* User: Zuev Yuri
*/
namespace Base\Domain;
abstract class AbstractObject implements EntityInterface {
/**
* @return int|null
*/
public function getId(): mixed {
return (isset($this->id)) ? (($this->id instanceof ValueObjectInterface) ? $this->id->get() : $this->id) : null;
}
}