| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | 4 | public function getLinks() |
|
| 27 | { |
||
| 28 | 4 | $selfLink = $this->getSelfLink(); |
|
| 29 | |||
| 30 | 4 | return array_merge($this->getContractLinks(), [ |
|
| 31 | 4 | 'properties' => $selfLink . '/property', |
|
| 32 | 'curies' => [ |
||
| 33 | 4 | new Link([ |
|
| 34 | 4 | 'name' => 'nestable', |
|
| 35 | 4 | 'href' => Url::to($selfLink, ['expand' => '{rel}']), |
|
|
|
|||
| 36 | 4 | 'title' => 'Embeddable and Nestable related resources.', |
|
| 37 | ]), |
||
| 38 | ], |
||
| 39 | 4 | 'nestable:rule' => 'rule', |
|
| 40 | ]); |
||
| 63 |