PHP 클래스 Mutagenesis\Utility\Process

파일 보기 프로젝트 열기: padraic/mutagenesis 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_descriptorSpec array proc_open descriptor spec
$_phpBin string PHP binary path for the current operating system

공개 메소드들

메소드 설명
run ( string $source ) Opens a new process to execute PHP on the source code passed to the method. If you're looking for how this process can be timed out - check the Utility/Job class which sets it internally in the source code to be executed.

보호된 메소드들

메소드 설명
_getPhpBinary ( ) : void Locate a relevant PHP binary for the operating system

메소드 상세

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

Locate a relevant PHP binary for the operating system
protected static _getPhpBinary ( ) : void
리턴 void

run() 공개 정적인 메소드

Opens a new process to execute PHP on the source code passed to the method. If you're looking for how this process can be timed out - check the Utility/Job class which sets it internally in the source code to be executed.
public static run ( string $source )
$source string

프로퍼티 상세

$_descriptorSpec 보호되어 있는 정적으로 프로퍼티

proc_open descriptor spec
protected static array $_descriptorSpec
리턴 array

$_phpBin 보호되어 있는 정적으로 프로퍼티

PHP binary path for the current operating system
protected static string $_phpBin
리턴 string