| 1 | <?php |
||
| 5 | class EntityData |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $type; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | private $id; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $urlKey; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $type |
||
| 24 | * @param int $id |
||
| 25 | * @param string $urlKey |
||
| 26 | */ |
||
| 27 | public function __construct(string $type, int $id, string $urlKey) |
||
| 33 | |||
| 34 | public function getType() : string |
||
| 38 | |||
| 39 | public function getId() : int |
||
| 43 | |||
| 44 | public function getUrlKey() : string |
||
| 48 | } |
||
| 49 |