PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
<?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); } }; } }
[+]
Exceptions
[-] Vite.php
[edit]
[-] PackageManifest.php
[edit]
[-] ComposerScripts.php
[edit]
[+]
Bus
[+]
..
[+]
Bootstrap
[-] EnvironmentDetector.php
[edit]
[-] Mix.php
[edit]
[-] AliasLoader.php
[edit]
[+]
Validation
[-] ProviderRepository.php
[edit]
[-] FileBasedMaintenanceMode.php
[edit]
[+]
Events
[+]
resources
[-] Inspiring.php
[edit]
[-] Precognition.php
[edit]
[-] helpers.php
[edit]
[-] MaintenanceModeManager.php
[edit]
[+]
Console
[+]
Routing
[-] CacheBasedMaintenanceMode.php
[edit]
[+]
Providers
[+]
Support
[+]
Auth
[+]
Testing
[+]
stubs
[+]
Http
[-] Application.php
[edit]
[+]
Concerns