- Full name:
\App\Application\Console\Commands\ExtensionCommand - Parent class:
ConsoleCommand - This class is an Abstract class
Methods
validatePackage
Parameters:
| Parameter | Type | Description |
|---|---|---|
$package |
string |
assertPackageExistsInRegistry
Parameters:
| Parameter | Type | Description |
|---|---|---|
$package |
string | |
$type |
string |
Throws:
NotFoundExceptionInterfaceContainerExceptionInterfaceInvalidArgumentExceptionJsonExceptionExceptionReflectionExceptionTypeException
runComposer
Parameters:
| Parameter | Type | Description |
|---|---|---|
$command |
array |
clearExtensionCache
Throws:
NotFoundExceptionInterfaceContainerExceptionInterfaceReflectionExceptionTypeExceptionInvalidArgumentException
assertExtensionCanBeRemoved
Parameters:
| Parameter | Type | Description |
|---|---|---|
$package |
string | |
$type |
string |
Throws:
ContainerExceptionInterfaceInvalidArgumentExceptionNotFoundExceptionInterfaceReflectionExceptionTypeExceptionUnresolvableQueryHandlerException
isExtensionEnabledOnAnySubsite
Parameters:
| Parameter | Type | Description |
|---|---|---|
$package |
string | |
$type |
string |
Throws:
NotFoundExceptionInterfaceReflectionExceptionContainerExceptionInterfaceTypeExceptionInvalidArgumentException
isPluginPackageActivatedOnAnySite
Parameters:
| Parameter | Type | Description |
|---|---|---|
$package |
string |
Throws:
isThemePackageActivatedOnAnySite
Parameters:
| Parameter | Type | Description |
|---|---|---|
$package |
string |
Throws:
classBelongsToExtensionPackage
Parameters:
| Parameter | Type | Description |
|---|---|---|
$class |
string | |
$package |
string | |
$type |
string |
getPackageSlug
Parameters:
| Parameter | Type | Description |
|---|---|---|
$package |
string |
getExtensionInstallPath
Parameters:
| Parameter | Type | Description |
|---|---|---|
$package |
string | |
$type |
string |