Doctrine\Common\Collections\ArrayCollection::containsKey
Checks whether the collection contains a specific key/index.
Signature
public function containsKey(mixed
$key )
Parameters
$key
— mixed- The key to check for.
Returns
- boolean
- TRUE if the given key/index exists, FALSE otherwise.