Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
7 / 7 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| AmbiguousCallException | |
100.00% |
7 / 7 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
7 / 7 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | namespace Apie\Core\Exceptions; |
| 3 | |
| 4 | final class AmbiguousCallException extends ApieException |
| 5 | { |
| 6 | public function __construct(string $identifier, string... $names) |
| 7 | { |
| 8 | parent::__construct( |
| 9 | sprintf( |
| 10 | "Ambiguous call for %s, could be either an instance of %s", |
| 11 | $identifier, |
| 12 | implode(', ', $names) |
| 13 | ) |
| 14 | ); |
| 15 | } |
| 16 | } |