$collection->indexOf()
Correct position detection for objects.
$collection->indexOf(string|object $needle): int|false
Parameters
| Name | Type | Default |
|---|---|---|
| $needle * | string|object |
– |
Return type
int|false
Correct position detection for objects.
$collection->indexOf(string|object $needle): int|false
| Name | Type | Default |
|---|---|---|
| $needle * | string|object |
– |
int|false