- Full name:
\App\Infrastructure\Http\Controllers\ExtensionInstallerController - This class is marked as final and can't be subclassed
- This class is a Final class
Methods
plugins
Throws:
JsonExceptionContainerExceptionInterfaceNotFoundExceptionInterfaceInvalidArgumentExceptionTypeExceptionReflectionExceptionException
themes
Throws:
ContainerExceptionInterfaceInvalidArgumentExceptionJsonExceptionNotFoundExceptionInterfaceReflectionExceptionTypeExceptionException
install
Parameters:
| Parameter | Type | Description |
|---|---|---|
$request |
\Qubus\Http\ServerRequest |
Throws:
ContainerExceptionInterfaceInvalidArgumentExceptionNotFoundExceptionInterfaceReflectionExceptionTypeExceptionExceptionException
remove
Parameters:
| Parameter | Type | Description |
|---|---|---|
$request |
\Qubus\Http\ServerRequest |
Throws:
ContainerExceptionInterfaceInvalidArgumentExceptionNotFoundExceptionInterfaceReflectionExceptionTypeExceptionExceptionException
assertPackageExistsInRegistry
Parameters:
| Parameter | Type | Description |
|---|---|---|
$package |
string | |
$type |
string |
Throws:
ContainerExceptionInterfaceInvalidArgumentExceptionJsonExceptionNotFoundExceptionInterfaceReflectionExceptionTypeExceptionException
jsonResponse
Parameters:
| Parameter | Type | Description |
|---|---|---|
$data |
array | |
$status |
int |
Throws:
assertExtensionCanBeRemoved
Parameters:
| Parameter | Type | Description |
|---|---|---|
$package |
string | |
$type |
string |
Throws:
ContainerExceptionInterfaceInvalidArgumentExceptionNotFoundExceptionInterfaceReflectionExceptionTypeExceptionUnresolvableQueryHandlerExceptionException
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 |