| Conditions | 1 |
| Paths | 1 |
| Total Lines | 32 |
| Code Lines | 21 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 21 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | 10 | public function getMethods(): array |
|
| 23 | { |
||
| 24 | return [ |
||
| 25 | 10 | 'ping.view' => fn (): Method\V1161MethodInterface => new Method\PingMethod( |
|
| 26 | 1 | new ResponderFactory() |
|
| 27 | ), |
||
| 28 | 10 | 'getLicense.view' => fn (): Method\V1161MethodInterface => new Method\GetLicenseMethod( |
|
| 29 | 1 | new ResponderFactory() |
|
| 30 | ), |
||
| 31 | 10 | 'getAlbum.view' => fn (): Method\V1161MethodInterface => new Method\GetAlbumMethod( |
|
| 32 | 1 | new ResponderFactory() |
|
| 33 | ), |
||
| 34 | 10 | 'getAlbumList2.view' => fn (): Method\V1161MethodInterface => new Method\GetAlbumList2Method( |
|
| 35 | 1 | new ResponderFactory() |
|
| 36 | ), |
||
| 37 | 10 | 'getArtists.view' => fn (): Method\V1161MethodInterface => new Method\GetArtistsMethod( |
|
| 38 | 1 | new ResponderFactory() |
|
| 39 | ), |
||
| 40 | 10 | 'getCoverArt.view' => fn (): Method\V1161MethodInterface => new Method\GetCoverArtMethod( |
|
| 41 | 1 | new ResponderFactory() |
|
| 42 | ), |
||
| 43 | 10 | 'getArtist.view' => fn (): Method\V1161MethodInterface => new Method\GetArtistMethod( |
|
| 44 | 1 | new ResponderFactory() |
|
| 45 | ), |
||
| 46 | 10 | 'getGenres.view' => fn (): Method\V1161MethodInterface => new Method\GetGenresMethod( |
|
| 47 | 1 | new ResponderFactory() |
|
| 48 | ), |
||
| 49 | 10 | 'getMusicFolders.view' => fn (): Method\V1161MethodInterface => new Method\GetMusicFoldersMethod( |
|
| 50 | 1 | new ResponderFactory() |
|
| 51 | ), |
||
| 52 | 10 | 'stream.view' => fn (): Method\V1161MethodInterface => new Method\StreamMethod( |
|
| 53 | 1 | new ResponderFactory() |
|
| 54 | ), |
||
| 58 |