Example #1
0
 /**
  * Returns the index position of the first occurrence of <i>$value</i> in 
  * the list, searching forward from index position <i>$from</i>. Returns -1 
  * if no item matched.
  * 
  * @param MString $value
  * @param int $from
  * @return int
  * @throws MWrongTypeException
  */
 public function indexOf(MString $value, $from = 0)
 {
     return parent::indexOf($value, $from);
 }
Example #2
0
 /**
  * Returns the index position of the first occurrence of <i>$value</i> in 
  * the list, searching forward from index position <i>$from</i>. Returns -1 
  * if no item matched.
  * 
  * @param MFileInfo $value
  * @param int $from
  * @return int
  * @throws MWrongTypeException
  */
 public function indexOf(MFileInfo $value, $from = 0)
 {
     return parent::indexOf($value, $from);
 }