Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
ClassCanNotBeFakedException | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | namespace Apie\Faker\Exceptions; |
3 | |
4 | use Apie\Core\Exceptions\ApieException; |
5 | use ReflectionClass; |
6 | |
7 | class ClassCanNotBeFakedException extends ApieException |
8 | { |
9 | /** |
10 | * @param ReflectionClass<object> $class |
11 | */ |
12 | public function __construct(ReflectionClass $class) |
13 | { |
14 | parent::__construct(sprintf('Class "%s" can not be faked!', $class->name)); |
15 | } |
16 | } |