PHP Class Shopware\Plugin\Services\Checkout

Class Checkout
Mostra file Open project: shopwarelabs/sw-cli-tools Class Usage Examples

Protected Properties

Property Type Description
$utilities ShopwareCli\Utilities

Public Methods

Method Description
__construct ( ShopwareCli\Utilities $utilities, ShopwareCli\Services\GitUtil $gitUtil, ShopwareCli\Services\IoService $ioService )
checkout ( Shopware\Plugin\Struct\Plugin $plugin, string $path, string $branch = null, boolean $useHttp = false )

Private Methods

Method Description
installPlugin ( string $branch, string $cloneUrl, string $absPath, string $pluginName )
updatePlugin ( string $branch, string $absPath, string $pluginName )

Method Details

__construct() public method

public __construct ( ShopwareCli\Utilities $utilities, ShopwareCli\Services\GitUtil $gitUtil, ShopwareCli\Services\IoService $ioService )
$utilities ShopwareCli\Utilities
$gitUtil ShopwareCli\Services\GitUtil
$ioService ShopwareCli\Services\IoService

checkout() public method

public checkout ( Shopware\Plugin\Struct\Plugin $plugin, string $path, string $branch = null, boolean $useHttp = false )
$plugin Shopware\Plugin\Struct\Plugin
$path string
$branch string
$useHttp boolean

Property Details

$utilities protected_oe property

protected Utilities,ShopwareCli $utilities
return ShopwareCli\Utilities