CommonGateway\CoreBundle\Service\InstallationService
Methods
| Name | Description |
|---|---|
| __construct | |
| composerupdate | Updates all commonground bundles on the common gateway installation. |
| handleAction | |
| handleData | |
| handleInstaller | |
| handleMapping | |
| handleSchema | |
| install | Performs installation actions on a common Gataway bundle. |
| setStyle | Set symfony style in order to output to the console. |
| uninstall | |
| update | |
| validateJsonAction | Perform a very basic check to see if a schema file is a valid json-action file. |
| validateJsonMapping | Perform a very basic check to see if a schema file is a valid json-mapping file. |
| validateJsonSchema | Performce a very basic check to see if a schema file is a valid json-schema file. |
| validateObjects | Validates the objects in the EAV setup. |
| validateSchemas | Validates the schemas in the EAV setup. |
| validateValues | Validates the objects in the EAV setup. |
InstallationService::__construct
Description
__construct (void)
Parameters
This function has no parameters.
Return Values
void
InstallationService::composerupdate
Description
public composerupdate (array $config)
Updates all commonground bundles on the common gateway installation.
Parameters
(array) $config
Return Values
int
InstallationService::handleAction
Description
handleAction (void)
Parameters
This function has no parameters.
Return Values
void
InstallationService::handleData
Description
handleData (void)
Parameters
This function has no parameters.
Return Values
void
InstallationService::handleInstaller
Description
handleInstaller (void)
Parameters
This function has no parameters.
Return Values
void
InstallationService::handleMapping
Description
handleMapping (void)
Parameters
This function has no parameters.
Return Values
void
InstallationService::handleSchema
Description
handleSchema (void)
Parameters
This function has no parameters.
Return Values
void
InstallationService::install
Description
public install (\SymfonyStyle $io, string $bundle, bool $noSchema)
Performs installation actions on a common Gataway bundle.
Parameters
(\SymfonyStyle) $io(string) $bundle(bool) $noSchema
Return Values
int
InstallationService::setStyle
Description
public setStyle (\SymfonyStyle $io)
Set symfony style in order to output to the console.
Parameters
(\SymfonyStyle) $io
Return Values
self
InstallationService::uninstall
Description
uninstall (void)
Parameters
This function has no parameters.
Return Values
void
InstallationService::update
Description
update (void)
Parameters
This function has no parameters.
Return Values
void
InstallationService::validateJsonAction
Description
public validateJsonAction (array $schema)
Perform a very basic check to see if a schema file is a valid json-action file.
Parameters
(array) $schema
Return Values
bool
InstallationService::validateJsonMapping
Description
public validateJsonMapping (array $schema)
Perform a very basic check to see if a schema file is a valid json-mapping file.
Parameters
(array) $schema
Return Values
bool
InstallationService::validateJsonSchema
Description
public validateJsonSchema (array $schema)
Performce a very basic check to see if a schema file is a valid json-schema file.
Parameters
(array) $schema
Return Values
bool
InstallationService::validateObjects
Description
public validateObjects (void)
Validates the objects in the EAV setup.
Parameters
This function has no parameters.
Return Values
void
InstallationService::validateSchemas
Description
public validateSchemas (void)
Validates the schemas in the EAV setup.
Parameters
This function has no parameters.
Return Values
void
InstallationService::validateValues
Description
public validateValues (void)
Validates the objects in the EAV setup.
Parameters
This function has no parameters.
Return Values
void