PHP 클래스 Airship\Hangar\Commands\Assemble

상속: extends Airship\Hangar\SessionCommand
파일 보기 프로젝트 열기: paragonie/airship

공개 프로퍼티들

프로퍼티 타입 설명
$description string
$display integer
$essential boolean
$name string
$pharAlias string
$pharStub string
$pharname File name of the output PHP archive

보호된 프로퍼티들

프로퍼티 타입 설명
$metadata array

공개 메소드들

메소드 설명
fire ( array $args = [] ) : boolean Execute the assemble command
getGitCommitHash ( ) : string Grab the git commit hash

보호된 메소드들

메소드 설명
addautoRun ( array $run, string $workspace, string $file ) : boolean Add an autoRun entry.
buildPhar ( string $workspace, array $args = [] ) : boolean Build the Phar
cleanupWorkspace ( string $dir ) : boolean Recursively delete an entire directory
copyFile ( string $from, string $to, string $filename ) : boolean Copy a file from one directory to another, ensuring that the destination directory exists.
createWorkspace ( ) : string Create a random workspace directory
getMetadata ( ) : string
getRawMetadata ( ) : array
setupFiles ( string $workspace, array $args = [] ) Place all the files in a workspace directory to prepare for Phar assembly.

메소드 상세

addautoRun() 보호된 메소드

Add an autoRun entry.
protected addautoRun ( array $run, string $workspace, string $file ) : boolean
$run array
$workspace string
$file string
리턴 boolean

buildPhar() 보호된 메소드

Build the Phar
protected buildPhar ( string $workspace, array $args = [] ) : boolean
$workspace string
$args array
리턴 boolean

cleanupWorkspace() 보호된 메소드

Recursively delete an entire directory
protected cleanupWorkspace ( string $dir ) : boolean
$dir string
리턴 boolean

copyFile() 보호된 메소드

Copy a file from one directory to another, ensuring that the destination directory exists.
protected copyFile ( string $from, string $to, string $filename ) : boolean
$from string
$to string
$filename string
리턴 boolean

createWorkspace() 보호된 메소드

Create a random workspace directory
protected createWorkspace ( ) : string
리턴 string

fire() 공개 메소드

Execute the assemble command
public fire ( array $args = [] ) : boolean
$args array
리턴 boolean

getGitCommitHash() 공개 메소드

Grab the git commit hash
public getGitCommitHash ( ) : string
리턴 string

getMetadata() 보호된 메소드

protected getMetadata ( ) : string
리턴 string

getRawMetadata() 보호된 메소드

protected getRawMetadata ( ) : array
리턴 array

setupFiles() 보호된 메소드

Place all the files in a workspace directory to prepare for Phar assembly.
protected setupFiles ( string $workspace, array $args = [] )
$workspace string
$args array

프로퍼티 상세

$description 공개적으로 프로퍼티

public string $description
리턴 string

$display 공개적으로 프로퍼티

public int $display
리턴 integer

$essential 공개적으로 프로퍼티

public bool $essential
리턴 boolean

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

protected array $metadata
리턴 array

$name 공개적으로 프로퍼티

public string $name
리턴 string

$pharAlias 공개적으로 프로퍼티

public string $pharAlias
리턴 string

$pharStub 공개적으로 프로퍼티

public string $pharStub
리턴 string

$pharname 공개적으로 프로퍼티

File name of the output PHP archive
public $pharname