| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class IsCallable extends ComposingAssertion implements Validation |
||
| 12 | { |
||
| 13 | public const NOT_A_CALLABLE = 'is-callable.not-a-callable'; |
||
| 14 | |||
| 15 | public function __construct(?callable $errorFormatter = null) |
||
| 23 | } |
||
| 24 | ); |
||
| 25 | } |
||
| 26 | |||
| 27 | public static function withTranslator(Translator $translator): self |
||
| 34 |