PHP Class Phan\Config

See ./phan -h for command line usage, or take a look at \Phan\CLI.php for more details on CLI usage.
Afficher le fichier Open project: etsy/phan Class Usage Examples

Méthodes publiques

Méthode Description
__get ( string $name ) : mixed
__set ( string $name, $value )
get ( ) : Config
getProjectRootDirectory ( ) : string
projectPath ( string $relative_path ) : string
setProjectRootDirectory ( string $project_root_directory ) : void

Private Methods

Méthode Description
__construct ( ) Disallow the constructor to force a singleton

Method Details

__get() public méthode

public __get ( string $name ) : mixed
$name string
Résultat mixed

__set() public méthode

public __set ( string $name, $value )
$name string

get() public static méthode

public static get ( ) : Config
Résultat Config Get a Configuration singleton

getProjectRootDirectory() public méthode

public getProjectRootDirectory ( ) : string
Résultat string Get the root directory of the project that we're scanning

projectPath() public static méthode

public static projectPath ( string $relative_path ) : string
$relative_path string
Résultat string The relative path appended to the project root directory.

setProjectRootDirectory() public méthode

public setProjectRootDirectory ( string $project_root_directory ) : void
$project_root_directory string Set the root directory of the project that we're scanning
Résultat void