1 | <?php |
||
13 | class Identity implements \NilPortugues\Foundation\Domain\Model\Repository\Contracts\Identity |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $id; |
||
19 | |||
20 | /** |
||
21 | * Identity constructor. |
||
22 | * |
||
23 | * @param string $id |
||
24 | */ |
||
25 | public function __construct($id) |
||
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | public function id() |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function __toString() |
||
45 | } |
||
46 |