PHP Class Shopware\Plugin\Services\Install

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

Protected Properties

Property Type Description
$checkout Checkout

Public Methods

Method Description
__construct ( Checkout $checkout, ShopwareCli\Services\IoService $ioService )
addPluginVcsMapping ( Shopware\Plugin\Struct\Plugin $plugin, string $shopwarePath )
install ( Shopware\Plugin\Struct\Plugin $plugin, string $shopwarePath, boolean $inputActivate = false, string $branch = 'master', boolean $useHttp = false )

Private Methods

Method Description
checkForNewStructure ( Shopware\Plugin\Struct\Plugin $plugin, string $shopwarePath )
normalize ( $string ) : string Normalize directory strings to make them comparable

Method Details

__construct() public method

public __construct ( Checkout $checkout, ShopwareCli\Services\IoService $ioService )
$checkout Checkout
$ioService ShopwareCli\Services\IoService

addPluginVcsMapping() public method

public addPluginVcsMapping ( Shopware\Plugin\Struct\Plugin $plugin, string $shopwarePath )
$plugin Shopware\Plugin\Struct\Plugin
$shopwarePath string

install() public method

public install ( Shopware\Plugin\Struct\Plugin $plugin, string $shopwarePath, boolean $inputActivate = false, string $branch = 'master', boolean $useHttp = false )
$plugin Shopware\Plugin\Struct\Plugin
$shopwarePath string
$inputActivate boolean
$branch string
$useHttp boolean

Property Details

$checkout protected property

protected Checkout,Shopware\Plugin\Services $checkout
return Checkout