$listItems->remove()
Removes an element from the array by key
$listItems->remove(string $key): Kirby\Toolkit\Collection
Parameters
| Name | Type | Default |
|---|---|---|
$key |
string |
- |
Return type
Parent class
Wagnerwagner\Merx\ListItems inherited from Kirby\Toolkit\Collection