| Conditions | 3 |
| Paths | 3 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 3.072 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | 9 | public function __construct(array $values) |
|
| 44 | { |
||
| 45 | 9 | if (!class_exists(Filesystem::class)) { |
|
| 46 | throw new UnsupportedAnnotationException(sprintf('%s does not exist. Please install FlySystem v2 to use the @Silverback\File annotation', Filesystem::class)); |
||
| 47 | } |
||
| 48 | 9 | if (isset($values['value'])) { |
|
| 49 | 9 | $this->uploadsEntityClass = $values['value']; |
|
| 50 | } |
||
| 53 |