| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | trait RecordsTrait |
||
| 13 | { |
||
| 14 | use \ByTIC\Models\SmartProperties\RecordsTraits\AbstractTrait\RecordsTrait; |
||
| 15 | use \ByTIC\Models\SmartProperties\RecordsTraits\HasSmartProperties\RecordsTrait; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param $name |
||
| 19 | * @return array |
||
| 20 | */ |
||
| 21 | 1 | public function getStatusProperty($name) |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return null|GenericStatus[] |
||
| 28 | */ |
||
| 29 | 1 | public function getStatuses() |
|
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $name |
||
| 36 | * @return GenericStatus |
||
| 37 | * @throws Exception |
||
| 38 | */ |
||
| 39 | 1 | public function getStatus($name = null) |
|
| 40 | { |
||
| 41 | 1 | return $this->getSmartPropertyItem('Status', $name); |
|
| 42 | } |
||
| 43 | |||
| 44 | 6 | protected function registerSmartProperties() |
|
| 47 | 6 | } |
|
| 48 | } |
||
| 49 |