| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class ErrorFactory implements ErrorFactoryInterface |
||
| 12 | { |
||
| 13 | /** @var FactoryInterface */ |
||
| 14 | private $decoratedFactory; |
||
| 15 | |||
| 16 | public function __construct(FactoryInterface $factory) |
||
| 19 | } |
||
| 20 | |||
| 21 | public function createNew(): ErrorInterface |
||
| 27 | } |
||
| 28 | |||
| 29 | public function createFromConstraintViolation(ConstraintViolationInterface $constraintViolation): ErrorInterface |
||
| 37 |