PHP 클래스 Phan\Phan

상속: implements Phan\Output\IgnoredFilesFilterInterface
파일 보기 프로젝트 열기: etsy/phan 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$printer Phan\Output\IssuePrinterInterface

공개 메소드들

메소드 설명
analyzeFileList ( CodeBase $code_base, array $file_path_list ) : boolean Analyze the given set of files and emit any issues found to STDOUT.
expandedFileList ( CodeBase $code_base, array $file_path_list ) : array
getIssueCollector ( ) : Phan\Output\IssueCollectorInterface
isFilenameIgnored ( string $filename ) : boolean
setIssueCollector ( Phan\Output\IssueCollectorInterface $issueCollector ) : void
setPrinter ( Phan\Output\IssuePrinterInterface $printer ) : void

비공개 메소드들

메소드 설명
collectSerializedResults ( array $results ) Take an array of serialized issues, deserialize them and then add them to the issue collector.
display ( ) : void Emit all collected issues
dumpSignaturesToFile ( CodeBase $code_base, string $filename ) : integer Save json encoded function&method signature to a map.
isExcludedAnalysisFile ( string $file_path ) : boolean

메소드 상세

analyzeFileList() 공개 정적인 메소드

Analyze the given set of files and emit any issues found to STDOUT.
또한 보기: Phan\CodeBase
public static analyzeFileList ( CodeBase $code_base, array $file_path_list ) : boolean
$code_base CodeBase A code base needs to be passed in because we require it to be initialized before any classes or files are loaded.
$file_path_list array A list of files to scan
리턴 boolean We emit messages to the configured printer and return true if issues were found.

expandedFileList() 공개 정적인 메소드

public static expandedFileList ( CodeBase $code_base, array $file_path_list ) : array
$code_base CodeBase A code base needs to be passed in because we require it to be initialized before any classes or files are loaded.
$file_path_list array A set of files to expand with the set of dependencies on those files.
리턴 array Get an expanded list of files and dependencies for the given file list

getIssueCollector() 공개 정적인 메소드

public static getIssueCollector ( ) : Phan\Output\IssueCollectorInterface
리턴 Phan\Output\IssueCollectorInterface

isFilenameIgnored() 공개 메소드

public isFilenameIgnored ( string $filename ) : boolean
$filename string
리턴 boolean True if filename is ignored during analysis

setIssueCollector() 공개 정적인 메소드

public static setIssueCollector ( Phan\Output\IssueCollectorInterface $issueCollector ) : void
$issueCollector Phan\Output\IssueCollectorInterface
리턴 void

setPrinter() 공개 정적인 메소드

public static setPrinter ( Phan\Output\IssuePrinterInterface $printer ) : void
$printer Phan\Output\IssuePrinterInterface
리턴 void

프로퍼티 상세

$printer 공개적으로 정적으로 프로퍼티

public static IssuePrinterInterface,Phan\Output $printer
리턴 Phan\Output\IssuePrinterInterface