public function indexOf($needle) { return array_search($needle, array_values($this->data)); }
/** * {@inheritdoc} */ public function indexOf($element) { $this->initialize(); return $this->coll->indexOf($element); }