PHP 클래스 Phan\CLI

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

공개 메소드들

메소드 설명
__construct ( ) Create and read command line arguments, configuring \Phan\Config as a side effect.
getFileList ( ) : array
getOutput ( ) : Symfony\Component\Console\Output\OutputInterface
progress ( string $msg, float $p ) : null Update a progress bar on the screen

비공개 메소드들

메소드 설명
directoryNameToFileList ( string $directory_name ) : array
maybeReadConfigFile ( ) Look for a .phan/config file up to a few directories up the hierarchy and apply anything in there to the configuration.
usage ( string $msg = '' )

메소드 상세

__construct() 공개 메소드

Create and read command line arguments, configuring \Phan\Config as a side effect.
public __construct ( )

getFileList() 공개 메소드

public getFileList ( ) : array
리턴 array Get the set of files to analyze

getOutput() 공개 메소드

public getOutput ( ) : Symfony\Component\Console\Output\OutputInterface
리턴 Symfony\Component\Console\Output\OutputInterface

progress() 공개 정적인 메소드

Update a progress bar on the screen
public static progress ( string $msg, float $p ) : null
$msg string A short message to display with the progress meter
$p float The percentage to display
리턴 null