Doctrine\Common\Collections\Collection::containsKey
Checks whether the collection contains an element with the specified key/index.
Signature
public function containsKey(string|integer
$key )
Parameters
$key
— object- The key/index to check for.
Returns
- boolean
- TRUE if the collection contains an element with the specified key/index,
FALSE otherwise.