PHP Class Shopware\Install\Services\Install\Release

Class Release
显示文件 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_oe property

protected Config,ShopwareCli $config
return ShopwareCli\Config

$configWriter protected_oe property

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

$database protected_oe property

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

$demoData protected_oe property

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

$vcsGenerator protected_oe property

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