1: <?php declare(strict_types=1);
2:
3: namespace Salient\Contract\Core;
4:
5: /**
6: * @api
7: */
8: interface HasId
9: {
10: /**
11: * Get the object's unique identifier
12: *
13: * @return int|string|null
14: */
15: public function getId();
16: }
17: