SystemController

The is the master controller for system related routing.

 class System\Classes\SystemController
extends Illuminate\Routing\Controller

It is currently only responsible for serving up the asset combiner contents.

Extends

Methods

public combine (string $name) : Response

Combines JavaScript and StyleSheet assets.

Parameters
Property Description
$name
string

Combined file code

Returns
Response

Combined content.

public resizer (string $identifier, string $encodedUrl) : RedirectResponse

Resizes an image using the provided configuration and returns a redirect to the resized image

Parameters
Property Description
$identifier
string

The identifier used to retrieve the image configuration

$encodedUrl
string

The double-encoded URL of the resized image, see https://github.com/octobercms/october/issues/3592#issuecomment-671017380

Returns
RedirectResponse
Copyright © 2024 Winter CMS