| Total Complexity | 3 |
| Total Lines | 61 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class SolicitudeValue extends base\SolicitudeValue implements Contract |
||
| 15 | { |
||
| 16 | use ContractTrait { |
||
| 17 | getLinks as getContractLinks; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @inheritdoc |
||
| 22 | */ |
||
| 23 | protected $sectionFieldClass = SectionField::class; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @inheritdoc |
||
| 27 | */ |
||
| 28 | protected $sectionClass = Section::class; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritdoc |
||
| 32 | */ |
||
| 33 | protected $fieldClass = Field::class; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritdoc |
||
| 37 | */ |
||
| 38 | protected $solicitudeClass = Solicitude::class; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritdoc |
||
| 42 | */ |
||
| 43 | 5 | public function getLinks() |
|
| 44 | { |
||
| 45 | 5 | $selfLink = $this->getSelfLink(); |
|
|
|
|||
| 46 | |||
| 47 | 5 | return array_merge($this->getContractLinks(), [ |
|
| 48 | 5 | 'field' => $this->field->getSelfLink(), |
|
| 49 | 5 | 'section' => $this->section->getSelfLink(), |
|
| 50 | ]); |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @inheritdoc |
||
| 55 | */ |
||
| 56 | 6 | protected function slugBehaviorConfig(): array |
|
| 62 | ]; |
||
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @inheritdoc |
||
| 67 | */ |
||
| 68 | 5 | public function extraFields() |
|
| 78 |