-
-
Notifications
You must be signed in to change notification settings - Fork 0
HookContentRenderer
github-actions edited this page Apr 30, 2026
·
1 revision
Renders packaged Git hooks with runtime-specific DevTools hook configuration paths.
- Full name:
\FastForward\DevTools\GitHooks\HookContentRenderer - This class is marked as final and can't be subclassed
- This class is a Final class
| Constant | Visibility | Type | Value |
|---|---|---|---|
MANAGED_GRUMPHP_CONFIG_PLACEHOLDER |
public | 'DEV_TOOLS_GRUMPHP_CONFIG' |
Renders the hook contents for the active DevTools runtime.
public render(string $contents, string $projectPath = ''): stringParameters:
| Parameter | Type | Description |
|---|---|---|
$contents |
string | the packaged hook contents |
$projectPath |
string | the consumer project root that will own the synchronized hook |
Return Value:
the rendered hook contents