| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | abstract class ComposingAssertion |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var IsAsAsserted |
||
| 13 | */ |
||
| 14 | protected $isAsAsserted; |
||
| 15 | |||
| 16 | abstract public function __construct(?callable $errorFormatter = null); |
||
| 17 | |||
| 18 | public static function withFormatter(callable $errorFormatter): self |
||
| 21 | } |
||
| 22 | |||
| 23 | public function validate($data, array $context = []): ValidationResult |
||
| 28 |