PHP 클래스 Composer\CustomDirectoryInstaller\PackageUtils

파일 보기 프로젝트 열기: mnsami/composer-custom-directory-installer 1 사용 예제들

공개 메소드들

메소드 설명
getPackageInstallPath ( Composer\Package\PackageInterface $package, Composer\Composer $composer )

보호된 메소드들

메소드 설명
mapCustomInstallPaths ( array $paths, string $name ) : string Search through a passed paths array for a custom install path.
templatePath ( string $path, array $vars = [] ) : string Replace vars in a path

메소드 상세

getPackageInstallPath() 공개 정적인 메소드

public static getPackageInstallPath ( Composer\Package\PackageInterface $package, Composer\Composer $composer )
$package Composer\Package\PackageInterface
$composer Composer\Composer

mapCustomInstallPaths() 보호된 정적인 메소드

Search through a passed paths array for a custom install path.
protected static mapCustomInstallPaths ( array $paths, string $name ) : string
$paths array
$name string
리턴 string

templatePath() 보호된 정적인 메소드

Replace vars in a path
protected static templatePath ( string $path, array $vars = [] ) : string
$path string
$vars array
리턴 string