I have code in RouteServiceProvider:
$router->bind('user', function ($value) {
try{
throw (new \Symfony\Component\HttpKernel\Exception\NotFoundHttpException);
}catch(Exception $e){
exit('nott');
}
});
and I don not geting output
nott
I am getting
Sorry, the page you are looking for could not be found.
NotFoundHttpException in RouteServiceProvider.php line 75:
...
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1QdMG6d
via IFTTT
Aucun commentaire:
Enregistrer un commentaire