Method | Description | |
---|---|---|
__toString ( ) : string | ||
createFromScriptName ( string $invokedScript ) : |
||
hookName ( ) : string | ||
projectName ( ) : string | ||
run ( ) | Process STDIN and verify all revisions |
Method | Description | |
---|---|---|
__construct ( string $gitDir, string $projectName, string $hookName ) | ||
createHookRunner ( |
Instantiate hook runner for hook type | |
processRevisions ( ) | Run each revision against current hook | |
shouldSkip ( |
public __toString ( ) : string | ||
return | string | A human readable respresentation of this instance |
public static createFromScriptName ( string $invokedScript ) : |
||
$invokedScript | string | PHP SCRIPT_NAME e.g. hooks/post-recieve.d/bart-hook-runner |
return |
public projectName ( ) : string | ||
return | string | The parsed name of the current project |