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

Methods

overview

public overview(bool $forceRefresh = false): array

Parameters:

Parameter Type Description
$forceRefresh bool

Throws:


coreUpdate

public coreUpdate(): array

Throws:


packageUpdates

public packageUpdates(string $type): array

Parameters:

Parameter Type Description
$type string

Throws:


updatePackage

public updatePackage(string $package, string $expectedType): array

Parameters:

Parameter Type Description
$package string
$expectedType string

Throws:


updateAll

public updateAll(string $expectedType): array

Parameters:

Parameter Type Description
$expectedType string

Throws:


installedPackagesByType

private installedPackagesByType(string $type): array

Parameters:

Parameter Type Description
$type string

Throws:


composerJson

private composerJson(string $command): array

Parameters:

Parameter Type Description
$command string

Throws:


composerRun

private composerRun(string $command, int $timeout = 3): array

Parameters:

Parameter Type Description
$command string
$timeout int

Throws: