class ServiceWorker
Methods
__construct( Container $container, Factory $view, UrlGenerator $url, LoggerInterface $logger, SettingsRepositoryInterface $settings)
No description
Details
at
line 20
__construct( Container $container, Factory $view, UrlGenerator $url, LoggerInterface $logger, SettingsRepositoryInterface $settings)
at
line 29
bool
enabled()
at
line 34
string
script()
at
line 65
string|null
part(string $key)
An extension's script, in a function of its own.
at
line 79
protected array
parts()
at
line 102
string
offlinePage()
at
line 115
protected array
skippedPaths()
Where the admin frontend and the API live, from the paths in config.php.
Their pages load from the network as if there were no worker.