Properties

name

protected string $name

description

protected string $description

Methods

configure

protected configure(): void

handle

public handle(): int

Inherited methods

validatePackage

protected validatePackage(string $package): void

Parameters:

Parameter Type Description
$package string

assertPackageExistsInRegistry

protected assertPackageExistsInRegistry(string $package, string $type): void

Parameters:

Parameter Type Description
$package string
$type string

Throws:


runComposer

protected runComposer(array $command): int

Parameters:

Parameter Type Description
$command array

clearExtensionCache

protected clearExtensionCache(): void

Throws:


assertExtensionCanBeRemoved

protected assertExtensionCanBeRemoved(string $package, string $type): void

Parameters:

Parameter Type Description
$package string
$type string

Throws:


isExtensionEnabledOnAnySubsite

protected isExtensionEnabledOnAnySubsite(string $package, string $type): bool

Parameters:

Parameter Type Description
$package string
$type string

Throws:


isPluginPackageActivatedOnAnySite

protected isPluginPackageActivatedOnAnySite(string $package): bool

Parameters:

Parameter Type Description
$package string

Throws:


isThemePackageActivatedOnAnySite

protected isThemePackageActivatedOnAnySite(string $package): bool

Parameters:

Parameter Type Description
$package string

Throws:


classBelongsToExtensionPackage

protected classBelongsToExtensionPackage(string $class, string $package, string $type): bool

Parameters:

Parameter Type Description
$class string
$package string
$type string

getPackageSlug

protected getPackageSlug(string $package): string

Parameters:

Parameter Type Description
$package string

getExtensionInstallPath

protected getExtensionInstallPath(string $package, string $type): string|false

Parameters:

Parameter Type Description
$package string
$type string