Upload::chunkId()
Ensures a clean chunk ID by stripping forbidden characters
Upload::chunkId() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
Upload::chunkId(string $id): string
Parameters
| Name | Type | Default |
|---|---|---|
| $idrequired | string |
no default value |
Return type
string
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |
Too short ID string |