Méthode |
Description |
|
configure ( ) : void |
Sets constants necessary for the proper functioning of Terminus |
|
getKeyFromConstant ( string $constant_name ) : string |
Reflects a key name given a Terminus constant name |
|
getPhpBinary ( ) : string |
Returns location of PHP with which to run Terminus |
|
getTerminusRoot ( string $current_dir = null ) : string |
Finds and returns the root directory of Terminus |
|
getTerminusScript ( ) : string |
Finds and returns the name of the script running Terminus functions |
|
importEnvironmentVariables ( ) : void |
Imports environment variables |
|
replacePlaceholders ( string $string ) : string |
Exchanges values in [[ ]] in the given string with constants |
|