class SettingController extends Controller (View source)

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Properties

protected Repository $config
protected SettingRepository $settings
protected Redirector $redirector
protected UrlGenerator $urlGenerator
protected Factory $viewFactory

Methods

__construct(Repository $config, SettingRepository $settings, Redirector $redirector, UrlGenerator $urlGenerator, Factory $viewFactory)

No description

void
removeMiddleware(string $middleware)

Attempts to unset the given middleware.

RedirectResponse|View
index(string $section)

No description

RedirectResponse
update(mixed $section, Request $request)

No description

array|null
getSubmitOptions(Model $item)

No description

Details

__construct(Repository $config, SettingRepository $settings, Redirector $redirector, UrlGenerator $urlGenerator, Factory $viewFactory)

No description

Parameters

Repository $config
SettingRepository $settings
Redirector $redirector
UrlGenerator $urlGenerator
Factory $viewFactory

void removeMiddleware(string $middleware)

Attempts to unset the given middleware.

Parameters

string $middleware

Return Value

void

RedirectResponse|View index(string $section)

No description

Parameters

string $section

Return Value

RedirectResponse|View

RedirectResponse update(mixed $section, Request $request)

No description

Parameters

mixed $section
Request $request

Return Value

RedirectResponse

array|null getSubmitOptions(Model $item)

No description

Parameters

Model $item

Return Value

array|null