PHP 클래스 Gush\Helper\ProcessHelper

상속: extends Symfony\Component\Console\Helper\Helper, implements Gush\Helper\OutputAwareInterface
파일 보기 프로젝트 열기: gushphp/gush 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$output Symfony\Component\Console\Output\OutputInterface

공개 메소드들

메소드 설명
getName ( ) : string
getProcessBuilder ( string | string[] $command ) : Symfony\Component\Process\ProcessBuilder
probePhpCsFixer ( ) : string
runCommand ( string | array $command, boolean $allowFailures = false, Closure $callback = null ) : string Run a command through the ProcessBuilder.
runCommands ( array $commands ) Run a series of shell command through a Process.
setOutput ( Symfony\Component\Console\Output\OutputInterface $output )

보호된 메소드들

메소드 설명
parseProcessArguments ( string $command ) : string[]

메소드 상세

getName() 공개 메소드

public getName ( ) : string
리턴 string

getProcessBuilder() 공개 메소드

public getProcessBuilder ( string | string[] $command ) : Symfony\Component\Process\ProcessBuilder
$command string | string[]
리턴 Symfony\Component\Process\ProcessBuilder

parseProcessArguments() 보호된 메소드

protected parseProcessArguments ( string $command ) : string[]
$command string
리턴 string[]

probePhpCsFixer() 공개 메소드

public probePhpCsFixer ( ) : string
리턴 string

runCommand() 공개 메소드

Run a command through the ProcessBuilder.
public runCommand ( string | array $command, boolean $allowFailures = false, Closure $callback = null ) : string
$command string | array
$allowFailures boolean
$callback Closure Callback for Process (e.g. for logging output in realtime)
리턴 string

runCommands() 공개 메소드

Run a series of shell command through a Process.
public runCommands ( array $commands )
$commands array

setOutput() 공개 메소드

public setOutput ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

프로퍼티 상세

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

protected OutputInterface,Symfony\Component\Console\Output $output
리턴 Symfony\Component\Console\Output\OutputInterface