Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
ClassCanNotBeFakedException
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2namespace Apie\Faker\Exceptions;
3
4use Apie\Core\Exceptions\ApieException;
5use ReflectionClass;
6
7class 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}