PHP 클래스 ComponentInstaller\Process\Process

Processes are initialized, and then run during installation.
상속: implements ComponentInstaller\Process\ProcessInterface
파일 보기 프로젝트 열기: robloach/component-installer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$componentDir string
$composer Composer\Composer
$config Composer\Config
$fs ComponentInstaller\Util\Filesystem
$installationManager Composer\Installer\InstallationManager The Composer installation manager to find Component vendor directories.
$io Composer\IO\IOInterface | Composer\IO\NullIO
$options array Any user provided options to configure this process.
$packages array

공개 메소드들

메소드 설명
__construct ( Composer\Composer $composer = null, Composer\IO\IOInterface $io = null )
getComponentDir ( ) Retrieves the component directory.
getComponentName ( string $prettyName, array $extra = [] ) : string Retrieves the component name for the component.
getVendorDir ( array $package ) : string Retrieves the given package's vendor directory, where it's installed.
init ( )
process ( )
setComponentDir ( string $dir ) : string Sets the component directory.

메소드 상세

__construct() 공개 메소드

public __construct ( Composer\Composer $composer = null, Composer\IO\IOInterface $io = null )
$composer Composer\Composer
$io Composer\IO\IOInterface

getComponentDir() 공개 메소드

Retrieves the component directory.
public getComponentDir ( )

getComponentName() 공개 메소드

Retrieves the component name for the component.
public getComponentName ( string $prettyName, array $extra = [] ) : string
$prettyName string The Composer package name.
$extra array The extra config options sent from Composer.
리턴 string The name of the component, without its vendor name.

getVendorDir() 공개 메소드

Retrieves the given package's vendor directory, where it's installed.
public getVendorDir ( array $package ) : string
$package array The package to retrieve the vendor directory for.
리턴 string

init() 공개 메소드

public init ( )

process() 공개 메소드

public process ( )

setComponentDir() 공개 메소드

Sets the component directory.
public setComponentDir ( string $dir ) : string
$dir string
리턴 string

프로퍼티 상세

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

protected string $componentDir
리턴 string

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

protected Composer,Composer $composer
리턴 Composer\Composer

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

protected Config,Composer $config
리턴 Composer\Config

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

protected Filesystem,ComponentInstaller\Util $fs
리턴 ComponentInstaller\Util\Filesystem

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

The Composer installation manager to find Component vendor directories.
protected InstallationManager,Composer\Installer $installationManager
리턴 Composer\Installer\InstallationManager

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

protected IOInterface,Composer\IO|NullIO,Composer\IO $io
리턴 Composer\IO\IOInterface | Composer\IO\NullIO

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

Any user provided options to configure this process.
protected array $options
리턴 array

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

protected array $packages
리턴 array