Skip to content

Configuration

whereUuid()

whereUuid() — returns struct

Available in: mapper Category: Routing

Constrain a route variable to only match UUID values. Similar to ASP.NET’s :guid constraint.

NameTypeRequiredDefaultDescription
variableNamestringyesThe route variable name to constrain. Can also be a comma-delimited list.