$collection->findByKey()
Find a single element by key (id)
$collection->findByKey(string $key): mixedParameters
| Name | Type | Default | 
|---|---|---|
| $key * | string | – | 
Return type
mixed
Find a single element by key (id)
$collection->findByKey(string $key): mixed| Name | Type | Default | 
|---|---|---|
| $key * | string | – | 
mixed