• Full name: \App\Infrastructure\Http\Controllers\UpdatesController
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Properties

updates

private \App\Infrastructure\Services\UpdateManager $updates

Methods

__construct

public __construct(\App\Infrastructure\Services\UpdateManager $updates): mixed

Parameters:

Parameter Type Description
$updates \App\Infrastructure\Services\UpdateManager

index

public index(): \Psr\Http\Message\ResponseInterface

Throws:


updatePlugin

public updatePlugin(\Qubus\Http\ServerRequest $request): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest

Throws:


updateTheme

public updateTheme(\Qubus\Http\ServerRequest $request): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest

Throws:


updateAllPlugins

public updateAllPlugins(): \Psr\Http\Message\ResponseInterface

Throws:


updateAllThemes

public updateAllThemes(): \Psr\Http\Message\ResponseInterface

Throws:


updatePackage

private updatePackage(\Qubus\Http\ServerRequest $request, string $type): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$type string

updateAll

private updateAll(string $type): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$type string