PHP 클래스 SebastianBergmann\PHPLOC\Analyser

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

공개 메소드들

메소드 설명
__construct ( )
countFile ( string $filename, boolean $countTests ) Processes a single file.
countFiles ( array $files, boolean $countTests ) : array Processes a set of files.
preProcessFile ( string $filename ) Pre-processes a single file.

비공개 메소드들

메소드 설명
getClassName ( string $namespace, array $tokens, integer $i ) : string
getNamespaceName ( array $tokens, integer $i ) : string
getNextNonWhitespaceTokenPos ( array $tokens, integer $start ) : boolean
getPreviousNonWhitespaceTokenPos ( array $tokens, integer $start ) : boolean
isClassDeclaration ( array $tokens, integer $i ) : boolean
isTestClass ( string $className ) : boolean
isTestMethod ( string $functionName, integer $visibility, boolean $static, array $tokens, integer $currentToken ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( )

countFile() 공개 메소드

Processes a single file.
public countFile ( string $filename, boolean $countTests )
$filename string
$countTests boolean

countFiles() 공개 메소드

Processes a set of files.
public countFiles ( array $files, boolean $countTests ) : array
$files array
$countTests boolean
리턴 array

preProcessFile() 공개 메소드

Pre-processes a single file.
public preProcessFile ( string $filename )
$filename string