$languages->findByPath()
Returns the language whose URL path prefix matches the given path
$languages->findByPath(string|null $path): Language|null
Parameters
| Name | Type | Default |
|---|---|---|
| $path | stringornull |
no default value |
Return types
Kirby\Cms\Languageornull