public function doBeforeFailedInput(\Closure $callback) { $this->failedInputCallback = $callback; return $this; }