indexOf() public method

public indexOf ( $element )
 /**
  * {@inheritdoc}
  */
 public function indexOf($element)
 {
     return $this->collection->indexOf($element);
 }