| 1 | <?php |
||
| 9 | trait ValidatingTrait |
||
| 10 | { |
||
| 11 | use BaseValidatingTrait; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Register a validating event with the dispatcher. |
||
| 15 | * |
||
| 16 | * @param \Closure|string $callback |
||
| 17 | * |
||
| 18 | * @return void |
||
| 19 | */ |
||
| 20 | public static function validating($callback) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Register a validated event with the dispatcher. |
||
| 27 | * |
||
| 28 | * @param \Closure|string $callback |
||
| 29 | * |
||
| 30 | * @return void |
||
| 31 | */ |
||
| 32 | public static function validated($callback) |
||
| 36 | } |
||
| 37 |