PHP 클래스 N98\Util\Exec

파일 보기 프로젝트 열기: netz98/n98-magerun 1 사용 예제들

공개 메소드들

메소드 설명
allowed ( ) : boolean Exec class is allowed to run
run ( string $command, string &$output = null, integer &$returnCode = null )

비공개 메소드들

메소드 설명
parseCommandOutput ( array $commandOutput ) : string string from array of strings representing one line per entry

메소드 상세

allowed() 공개 정적인 메소드

Exec class is allowed to run
public static allowed ( ) : boolean
리턴 boolean

run() 공개 정적인 메소드

public static run ( string $command, string &$output = null, integer &$returnCode = null )
$command string
$output string
$returnCode integer