| 1 | <?php |
||
| 15 | trait TypeIdAttributeTrait |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * The type Id |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $typeId; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | * @throws \Exception |
||
| 27 | */ |
||
| 28 | public function getTypeId(): string |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string|null |
||
| 38 | */ |
||
| 39 | public function findTypeId() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param string|null $id |
||
| 46 | * @return $this |
||
| 47 | */ |
||
| 48 | public function setTypeId(string $id = null) |
||
| 53 | } |
||
| 54 |