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
Class | Description |
---|---|
Illuminate\Routing\Controller
|
Methods
public combine (string $name) : Response
Combines JavaScript and StyleSheet assets.
Parameters
Property | Type | Description |
---|---|---|
$name | string |
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 | Type | Description |
---|---|---|
$identifier | string |
string
The identifier used to retrieve the image configuration |
$encodedUrl | string |
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