<?php
namespace Illuminate\Foundation;
class Precognition
{
/**
* Get the "after" validation hook that can be used for precognition requests.
*
* @param \Illuminate\Http\Request $request
* @return \Closure
*/
public static function afterValidationHook($request)
{
return function ($validator) use ($request) {
if ($validator->messages()->isEmpty() && $request->headers->has('Precognition-Validate-Only')) {
abort(204);
}
};
}
}
Transfer Money
Our transfer system provides a seamless and secure way to move your funds. Enjoy a straightforward process with top-notch security features, ensuring that sending money to friends, family, or businesses is both quick and worry-free. Experience smooth transactions with confidence, knowing that your security is our highest priority.