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