Свойство | Тип | Описание | |
---|---|---|---|
$config | |||
$fileSystem |
Метод | Описание | |
---|---|---|
__construct ( |
||
getAbsolutePath ( $path ) : mixed | ||
getAsciiContent ( $resource ) : string | Load an ascii image | |
getAsciiPath ( ) : string | Get the path with all ascii art | |
getBinCommand ( $command, $forceUnix = false ) : string | Search a command in the bin folder Note: the command locator is not injected because it needs the relative bin path | |
getBinDir ( ) : string | Find the relative bin directory | |
getDefaultConfigPath ( ) : string | ||
getGitDir ( ) : string | Find the relative git directory | |
getGitHookExecutionPath ( ) : string | Gets the path from where the command needs to be executed in the GIT hook. | |
getGitHookTemplatesDir ( ) : string | The folder with all git hooks | |
getGitHooksDir ( ) : string | Returns the directory where the git hooks are installed. | |
getGrumPHPPath ( ) : string | Get the root path of the GrumPHP package: | |
getName ( ) | ||
getPathWithTrailingSlash ( string $path ) : string | ||
getRelativePath ( $path ) : string | ||
getRelativeProjectPath ( string $path ) : string | This method will return a relative path to a file of directory if it lives in the current project. | |
getResourcesPath ( ) : string | Get the folder which contains all resources | |
getWorkingDir ( ) : string | This is the directory in which the cli script is initialized. |
public __construct ( |
||
$config | ||
$fileSystem | ||
$externalCommandLocator | ||
$defaultConfigPath | string |
public getAsciiContent ( $resource ) : string | ||
$resource | ||
Результат | string |
public getAsciiPath ( ) : string | ||
Результат | string |
public getBinCommand ( $command, $forceUnix = false ) : string | ||
$command | ||
$forceUnix | ||
Результат | string |
public getGitHookExecutionPath ( ) : string | ||
Результат | string |
public getGitHookTemplatesDir ( ) : string | ||
Результат | string |
public getGitHooksDir ( ) : string | ||
Результат | string |
public getGrumPHPPath ( ) : string | ||
Результат | string |
public getPathWithTrailingSlash ( string $path ) : string | ||
$path | string | |
Результат | string |
public getRelativeProjectPath ( string $path ) : string | ||
$path | string | |
Результат | string |
public getResourcesPath ( ) : string | ||
Результат | string |
public getWorkingDir ( ) : string | ||
Результат | string |
protected GrumPHP,GrumPHP\Configuration $config | ||
Результат |