PHP Class TheSeer\phpDox\GlobalConfig

ファイルを表示 Open project: theseer/phpdox Class Usage Examples

Public Methods

Method Description
__construct ( Version $version, TheSeer\phpDox\FileInfo $home, TheSeer\fDOM\fDOMDocument $cfg, TheSeer\phpDox\FileInfo $file ) Constructor for global config
getConfigFile ( ) : TheSeer\phpDox\FileInfo
getCustomBootstrapFiles ( ) : TheSeer\phpDox\FileInfoCollection
getProjects ( ) : array
isSilentMode ( ) : boolean

Private Methods

Method Description
resolveValue ( string $value, array $vars, integer $line ) : string
runResolver ( $ctx ) : mixed

Method Details

__construct() public method

Constructor for global config
public __construct ( Version $version, TheSeer\phpDox\FileInfo $home, TheSeer\fDOM\fDOMDocument $cfg, TheSeer\phpDox\FileInfo $file )
$version Version
$home TheSeer\phpDox\FileInfo
$cfg TheSeer\fDOM\fDOMDocument A configuration dom
$file TheSeer\phpDox\FileInfo FileInfo of the cfg file

getConfigFile() public method

public getConfigFile ( ) : TheSeer\phpDox\FileInfo
return TheSeer\phpDox\FileInfo

getCustomBootstrapFiles() public method

public getCustomBootstrapFiles ( ) : TheSeer\phpDox\FileInfoCollection
return TheSeer\phpDox\FileInfoCollection

getProjects() public method

public getProjects ( ) : array
return array

isSilentMode() public method

public isSilentMode ( ) : boolean
return boolean