Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
6 / 6 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| ICanNotExtractASchemaFromClassException | |
100.00% |
6 / 6 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
6 / 6 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | namespace Apie\SchemaGenerator\Exceptions; |
| 3 | |
| 4 | use RuntimeException; |
| 5 | |
| 6 | class ICanNotExtractASchemaFromClassException extends RuntimeException |
| 7 | { |
| 8 | public function __construct(string $className) |
| 9 | { |
| 10 | parent::__construct( |
| 11 | sprintf( |
| 12 | 'I can not extract an OpenAPI Schema from class "%s"', |
| 13 | $className |
| 14 | ) |
| 15 | ); |
| 16 | } |
| 17 | } |