function Global / abort
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

abort

abort ( ) : never

Throw an HttpException with the given data.

Parameters

  • $code Symfony\...\Response|Responsable |int
  • $message string
  • $headers array