function Global / abort
You are viewing an older version of the documentation. For the latest, please visit master documentation.

abort

abort ( ) : never

Throw an HttpException with the given data.

Parameters

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