Property | Type | Description | |
---|---|---|---|
$helper | WellCommerce\Bundle\DistributionBundle\Helper\Package\PackageHelperInterface |
Method | Description | |
---|---|---|
changePackageStatus ( |
Changes package info according to operation and data fetched from PackagistAPI | |
getConsoleCommandArguments ( |
Returns console command arguments | |
setHelper ( WellCommerce\Bundle\DistributionBundle\Helper\Package\PackageHelperInterface $helper ) | ||
syncPackages ( $type ) | Searches for all packages of particular type and adds them to Smuggler |
Method | Description | |
---|---|---|
addPackage ( |
Adds new package to info to Smuggler | |
getPackageVersionReference ( Packagist\Api\Result\Package\Version $version ) : string | Returns reference for particular package version | |
setPackageVersions ( WellCommerce\Bundle\DistributionBundle\Entity\PackageInterface $package ) | ||
syncPackage ( |
Syncs single remote package |
protected addPackage ( |
||
$remotePackage |
public changePackageStatus ( |
||
$request |
public getConsoleCommandArguments ( |
||
$request | ||
return | array |
protected getPackageVersionReference ( Packagist\Api\Result\Package\Version $version ) : string | ||
$version | Packagist\Api\Result\Package\Version | |
return | string |
public setHelper ( WellCommerce\Bundle\DistributionBundle\Helper\Package\PackageHelperInterface $helper ) | ||
$helper | WellCommerce\Bundle\DistributionBundle\Helper\Package\PackageHelperInterface |
protected setPackageVersions ( WellCommerce\Bundle\DistributionBundle\Entity\PackageInterface $package ) | ||
$package | WellCommerce\Bundle\DistributionBundle\Entity\PackageInterface |
protected syncPackage ( |
||
$remotePackage |
public syncPackages ( $type ) |