Plugins::resolve()
Returns the stylesheet or script of a plugin as response; its URL path contains the file hash, so browsers and CDNs can cache it for good
Plugins::resolve(string $plugin, string $hash, string $extension): Response|null
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $pluginrequired | string |
no default value | |
| $hashrequired | string |
no default value | |
| $extensionrequired | string |
no default value | css, js, dev.css or dev.js |
Return types
Kirby\Http\Responseornull