PHP 클래스 WellCommerce\Bundle\DistributionBundle\Manager\PackageManager

저자: Adam Piotrowski ([email protected])
상속: extends WellCommerce\Bundle\CoreBundle\Manager\AbstractManager
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$helper WellCommerce\Bundle\DistributionBundle\Helper\Package\PackageHelperInterface

공개 메소드들

메소드 설명
changePackageStatus ( Request $request ) Changes package info according to operation and data fetched from PackagistAPI
getConsoleCommandArguments ( Request $request ) : array 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

보호된 메소드들

메소드 설명
addPackage ( Package $remotePackage ) 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 ( Package $remotePackage ) Syncs single remote package

메소드 상세

addPackage() 보호된 메소드

Adds new package to info to Smuggler
protected addPackage ( Package $remotePackage )
$remotePackage Packagist\Api\Result\Package

changePackageStatus() 공개 메소드

Changes package info according to operation and data fetched from PackagistAPI
public changePackageStatus ( Request $request )
$request Symfony\Component\HttpFoundation\Request

getConsoleCommandArguments() 공개 메소드

Returns console command arguments
public getConsoleCommandArguments ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request
리턴 array

getPackageVersionReference() 보호된 메소드

Returns reference for particular package version
protected getPackageVersionReference ( Packagist\Api\Result\Package\Version $version ) : string
$version Packagist\Api\Result\Package\Version
리턴 string

setHelper() 공개 메소드

public setHelper ( WellCommerce\Bundle\DistributionBundle\Helper\Package\PackageHelperInterface $helper )
$helper WellCommerce\Bundle\DistributionBundle\Helper\Package\PackageHelperInterface

setPackageVersions() 보호된 메소드

protected setPackageVersions ( WellCommerce\Bundle\DistributionBundle\Entity\PackageInterface $package )
$package WellCommerce\Bundle\DistributionBundle\Entity\PackageInterface

syncPackage() 보호된 메소드

Syncs single remote package
protected syncPackage ( Package $remotePackage )
$remotePackage Packagist\Api\Result\Package

syncPackages() 공개 메소드

Searches for all packages of particular type and adds them to Smuggler
public syncPackages ( $type )

프로퍼티 상세

$helper 보호되어 있는 프로퍼티

protected PackageHelperInterface,WellCommerce\Bundle\DistributionBundle\Helper\Package $helper
리턴 WellCommerce\Bundle\DistributionBundle\Helper\Package\PackageHelperInterface