Menu

## SendEmergencyMessageController extends Controller
in package

SendEmergencyMessageController.php : 31

Class SendEmergencyMessageController

Handles sending emergency notifications to users within the authenticated school context.

### Table of Contents

#### Methods

create() : Response
  Display the emergency message creation view.
store() : array<string|int, mixed>
  Store and dispatch an emergency notification.

### Methods

#### create()

SendEmergencyMessageController.php : 38

Display the emergency message creation view.

`public create() : Response`

##### Return values

Response

#### store()

SendEmergencyMessageController.php : 53

Store and dispatch an emergency notification.

`public store(EmergencyNotificationRequest $request) : array<string|int, mixed>`

Validates request data, triggers emergency notification event, and returns success response.

##### Parameters

$request : EmergencyNotificationRequest

##### Return values

array<string|int, mixed>

## Search results