PHP Class Shopware\Install\Services\Install\Release

Class Release
Show file Open project: shopwarelabs/sw-cli-tools

Protected Properties

Property Type Description
$config ShopwareCli\Config
$configWriter Shopware\Install\Services\ConfigWriter
$database Shopware\Install\Services\Database
$demoData Shopware\Install\Services\Demodata
$vcsGenerator Shopware\Install\Services\VcsGenerator

Public Methods

Method Description
__construct ( ReleaseDownloader $releaseDownloader, ShopwareCli\Config $config, Shopware\Install\Services\VcsGenerator $vcsGenerator, Shopware\Install\Services\ConfigWriter $configWriter, Shopware\Install\Services\Database $database, Shopware\Install\Services\Demodata $demodata, ShopwareCli\Services\IoService $ioService, Shopware\Install\Services\PostInstall $postInstall, ShopwareCli\Services\ProcessExecutor $processExecutor )
installShopware ( InstallationRequest $request )

Private Methods

Method Description
createDatabase ( InstallationRequest $request )
createShopwareConfig ( InstallationRequest $request ) Write shopware's config.php
generateVcsMapping ( $installDir )
lockInstaller ( string $installDir ) Create install.lock in SW5
runInstaller ( InstallationRequest $request )
setupDatabase ( InstallationRequest $request )

Method Details

__construct() public method

public __construct ( ReleaseDownloader $releaseDownloader, ShopwareCli\Config $config, Shopware\Install\Services\VcsGenerator $vcsGenerator, Shopware\Install\Services\ConfigWriter $configWriter, Shopware\Install\Services\Database $database, Shopware\Install\Services\Demodata $demodata, ShopwareCli\Services\IoService $ioService, Shopware\Install\Services\PostInstall $postInstall, ShopwareCli\Services\ProcessExecutor $processExecutor )
$releaseDownloader Shopware\Install\Services\ReleaseDownloader
$config ShopwareCli\Config
$vcsGenerator Shopware\Install\Services\VcsGenerator
$configWriter Shopware\Install\Services\ConfigWriter
$database Shopware\Install\Services\Database
$demodata Shopware\Install\Services\Demodata
$ioService ShopwareCli\Services\IoService
$postInstall Shopware\Install\Services\PostInstall
$processExecutor ShopwareCli\Services\ProcessExecutor

installShopware() public method

public installShopware ( InstallationRequest $request )
$request Shopware\Install\Struct\InstallationRequest

Property Details

$config protected property

protected Config,ShopwareCli $config
return ShopwareCli\Config

$configWriter protected property

protected ConfigWriter,Shopware\Install\Services $configWriter
return Shopware\Install\Services\ConfigWriter

$database protected property

protected Database,Shopware\Install\Services $database
return Shopware\Install\Services\Database

$demoData protected property

protected Demodata,Shopware\Install\Services $demoData
return Shopware\Install\Services\Demodata

$vcsGenerator protected property

protected VcsGenerator,Shopware\Install\Services $vcsGenerator
return Shopware\Install\Services\VcsGenerator