Menu

## MaintenanceController extends Controller
in package
uses SettingProcess

MaintenanceController.php : 19

Class MaintenanceController

Controller for maintenance mode and related site-status settings.

### Table of Contents

#### Methods

create() : Response
  Show the form for creating a new resource.
store() : Response
  Store a newly created resource in storage.
updatesettings() : bool
  Update a setting value by key.

### Methods

#### create()

MaintenanceController.php : 28

Show the form for creating a new resource.

`public create() : Response`

##### Return values

Response

#### store()

MaintenanceController.php : 40

Store a newly created resource in storage.

`public store(Request $request) : Response`

##### Parameters

$request : Request

##### Return values

Response

#### updatesettings()

SettingProcess.php : 14

Update a setting value by key.

`public updatesettings(string $key, mixed $value) : bool`

##### Parameters

$key : string

  Setting key to update

$value : mixed

  Value to persist

##### Return values

bool —

True on successful save

## Search results