PHP 클래스 PHPUnit_Util_Fileloader, qcodo

저자: Sebastian Bergmann ([email protected])
파일 보기 프로젝트 열기: qcodo/qcodo 1 사용 예제들

공개 메소드들

메소드 설명
checkAndLoad ( string $filename, boolean $syntaxCheck = FALSE ) : string Checks if a PHP sourcefile is readable and is optionally checked for syntax errors through the syntaxCheck() method. The sourcefile is loaded through the load() method.
load ( string $filename ) : mixed Loads a PHP sourcefile.

보호된 메소드들

메소드 설명
syntaxCheck ( string $filename ) Uses a separate process to perform a syntax check on a PHP sourcefile.

메소드 상세

checkAndLoad() 공개 정적인 메소드

Checks if a PHP sourcefile is readable and is optionally checked for syntax errors through the syntaxCheck() method. The sourcefile is loaded through the load() method.
public static checkAndLoad ( string $filename, boolean $syntaxCheck = FALSE ) : string
$filename string
$syntaxCheck boolean
리턴 string

load() 공개 정적인 메소드

Loads a PHP sourcefile.
public static load ( string $filename ) : mixed
$filename string
리턴 mixed

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

Uses a separate process to perform a syntax check on a PHP sourcefile.
protected static syntaxCheck ( string $filename )
$filename string