Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | |||
38 | /** |
||
39 | * Determine whether the handler can handle the given source |
||
40 | * |
||
41 | * @param mixed $source |
||
42 | * @return bool |
||
43 | */ |
||
44 | 10 | public function handles($source): bool |
|
45 | { |
||
46 | 10 | return $this->isEndpoint($source) && class_exists(Client::class); |
|
47 | } |
||
48 | |||
49 | /** |
||
50 | * Handle the given source |
||
68 |