Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public function jsonSerialize(): array |
||
25 | { |
||
26 | return [ |
||
27 | 'urlSegment' => $this->method->getURLSegment(), |
||
28 | 'name' => $this->method->getName(), |
||
29 | 'description' => $this->method->getRegisterHandler()->getDescription(), |
||
30 | 'supportLink' => $this->method->getRegisterHandler()->getSupportLink(), |
||
31 | 'supportText' => $this->method->getRegisterHandler()->getSupportText(), |
||
32 | 'thumbnail' => $this->method->getThumbnail(), |
||
33 | 'component' => $this->method->getRegisterHandler()->getComponent(), |
||
34 | 'isAvailable' => $this->method->isAvailable(), |
||
35 | 'unavailableMessage' => $this->method->getUnavailableMessage(), |
||
36 | ]; |
||
39 |