Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 524 Bytes

File metadata and controls

18 lines (12 loc) · 524 Bytes

CustomId

A component's custom id, which may carry {placeholders}.

use Tempcord\Runtime\CustomId;

Parameters

Name Type Default Description
pattern string required
parameters array required the placeholder names, in the order they appear
regex ?string required null when the pattern has no placeholders and a plain string comparison is enough