PHP 클래스 PDepend\TextUI\Command

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

공개 메소드들

메소드 설명
main ( ) : integer Main method that starts the command line runner.
run ( ) : integer Performs the main cli process and returns the exit code.

보호된 메소드들

메소드 설명
assignArguments ( ) : boolean Assign CLI arguments to current runner instance
parseArguments ( ) : boolean Parses the cli arguments.
printAnalyzerOptions ( integer $length ) : integer Prints the analyzer options.
printHelp ( ) : void Outputs the main help of PDepend.
printLogOptions ( ) : integer Prints all available log options and returns the length of the longest option.
printUsage ( ) : void Outputs the base usage of PDepend.
printVersion ( ) : void Outputs the current PDepend version.
printWorkarounds ( ) : void If the current PHP installation requires some workarounds or limitations, this method will output a message on STDOUT.

비공개 메소드들

메소드 설명
printDbusOption ( integer $length ) : void Optionally outputs the dbus option when the required extension is loaded.
printOption ( string $option, string $message, integer $length ) : void Prints a single option.
printStatistics ( $startTime )

메소드 상세

assignArguments() 보호된 메소드

Assign CLI arguments to current runner instance
protected assignArguments ( ) : boolean
리턴 boolean

main() 공개 정적인 메소드

Main method that starts the command line runner.
public static main ( ) : integer
리턴 integer The exit code.

parseArguments() 보호된 메소드

Parses the cli arguments.
protected parseArguments ( ) : boolean
리턴 boolean

printAnalyzerOptions() 보호된 메소드

Prints the analyzer options.
protected printAnalyzerOptions ( integer $length ) : integer
$length integer Length of the longest option.
리턴 integer

printHelp() 보호된 메소드

Outputs the main help of PDepend.
protected printHelp ( ) : void
리턴 void

printLogOptions() 보호된 메소드

Prints all available log options and returns the length of the longest option.
protected printLogOptions ( ) : integer
리턴 integer

printUsage() 보호된 메소드

Outputs the base usage of PDepend.
protected printUsage ( ) : void
리턴 void

printVersion() 보호된 메소드

Outputs the current PDepend version.
protected printVersion ( ) : void
리턴 void

printWorkarounds() 보호된 메소드

If the current PHP installation requires some workarounds or limitations, this method will output a message on STDOUT.
protected printWorkarounds ( ) : void
리턴 void

run() 공개 메소드

Performs the main cli process and returns the exit code.
public run ( ) : integer
리턴 integer