-
-
Notifications
You must be signed in to change notification settings - Fork 0
PlaceholderResolverInterface
github-actions edited this page Apr 10, 2026
·
2 revisions
Resolves placeholders in license templates with metadata values.
This interface defines the contract for replacing template placeholders such as [year], [author], [project] with actual values.
- Full name:
\FastForward\DevTools\License\PlaceholderResolverInterface
Resolves placeholders in a license template with the provided metadata.
public resolve(string $template, array{year?: int, organization?: string, author?: string, project?: string} $metadata): stringParameters:
| Parameter | Type | Description |
|---|---|---|
$template |
string | The license template content with placeholders |
$metadata |
array{year?: int, organization?: string, author?: string, project?: string} | The metadata values to use for replacement |
Return Value:
The template with all resolved placeholders