PHP Class Phan\CLI

Afficher le fichier Open project: etsy/phan Class Usage Examples

Méthodes publiques

Méthode Description
__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

Private Methods

Méthode Description
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 = '' )

Method Details

__construct() public méthode

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

getFileList() public méthode

public getFileList ( ) : array
Résultat array Get the set of files to analyze

getOutput() public méthode

public getOutput ( ) : Symfony\Component\Console\Output\OutputInterface
Résultat Symfony\Component\Console\Output\OutputInterface

progress() public static méthode

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
Résultat null