| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function __construct(array $attributes = []) |
||
| 39 | { |
||
| 40 | if (isset($attributes['class'])) { |
||
| 41 | $this->setClass($attributes['class']); |
||
| 42 | if (!class_exists($this->class)) { |
||
| 43 | throw ClassNotFoundException::couldNotFindClass($this->class); |
||
| 44 | } |
||
| 45 | } else { |
||
| 46 | $this->selfType = true; |
||
| 47 | } |
||
| 73 |