PHP 클래스 Neos\Flow\Tests\Features\Bootstrap\SubProcess\SubProcess

Usage: $subProcess = new SubProcess($applicationContext); $subProcessResponse = $subProcess->execute('some:flow:command');
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$context Neos\Flow\Core\ApplicationContext
$pipes array
$subProcess resource | boolean

공개 메소드들

메소드 설명
__construct ( ApplicationContext $context )
execute ( string $commandLine ) : string
quit ( ) : void Cleanly terminates the given sub process

보호된 메소드들

메소드 설명
getSubProcessResponse ( ) : string Returns the currently pending response from the sub process
launchSubProcess ( ) : array Launch sub process

메소드 상세

__construct() 공개 메소드

public __construct ( ApplicationContext $context )
$context Neos\Flow\Core\ApplicationContext

execute() 공개 메소드

public execute ( string $commandLine ) : string
$commandLine string
리턴 string

getSubProcessResponse() 보호된 메소드

Returns the currently pending response from the sub process
protected getSubProcessResponse ( ) : string
리턴 string

launchSubProcess() 보호된 메소드

Launch sub process
protected launchSubProcess ( ) : array
리턴 array The new sub process and its STDIN, STDOUT, STDERR pipes – or FALSE if an error occurred.

quit() 공개 메소드

Cleanly terminates the given sub process
public quit ( ) : void
리턴 void

프로퍼티 상세

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

protected ApplicationContext,Neos\Flow\Core $context
리턴 Neos\Flow\Core\ApplicationContext

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

protected array $pipes
리턴 array

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

protected resource|bool $subProcess
리턴 resource | boolean