PHP 인터페이스 LEtudiant\Composer\Data\Package\PackageDataManagerInterface

저자: Sylvain Lorinet ([email protected])
파일 보기 프로젝트 열기: letudiant/composer-shared-package-plugin 0 사용 예제들

공개 메소드들

메소드 설명
addPackageUsage ( Composer\Package\PackageInterface $package ) Add a row in the "packages.json" file, with the project name for the "package/version" key
getPackageUsage ( Composer\Package\PackageInterface $package ) : array Return usage of the current package
removePackageUsage ( Composer\Package\PackageInterface $package ) Remove the row in the "packages.json" file
setPackageInstallationSource ( Composer\Package\PackageInterface $package )
setVendorDir ( string $vendorDir ) Set the vendor directory to save the "packages.json" file

메소드 상세

addPackageUsage() 공개 메소드

Add a row in the "packages.json" file, with the project name for the "package/version" key
public addPackageUsage ( Composer\Package\PackageInterface $package )
$package Composer\Package\PackageInterface

getPackageUsage() 공개 메소드

Return usage of the current package
public getPackageUsage ( Composer\Package\PackageInterface $package ) : array
$package Composer\Package\PackageInterface
리턴 array

removePackageUsage() 공개 메소드

Remove the row in the "packages.json" file
public removePackageUsage ( Composer\Package\PackageInterface $package )
$package Composer\Package\PackageInterface

setPackageInstallationSource() 공개 메소드

public setPackageInstallationSource ( Composer\Package\PackageInterface $package )
$package Composer\Package\PackageInterface

setVendorDir() 공개 메소드

Set the vendor directory to save the "packages.json" file
public setVendorDir ( string $vendorDir )
$vendorDir string