Example #1
0
 public function lastIndexOf($collection = null, $item = null)
 {
     list($collection, $item) = self::_wrapArgs(func_get_args(), 2);
     $collection = self::_collection($collection);
     krsort($collection);
     $__ = new self();
     return self::_wrap($__->indexOf($collection, $item));
 }
 public static function lastIndexOf($collection = null, $item = null)
 {
     $collection = self::_collection($collection);
     krsort($collection);
     $__ = new self();
     return $__->indexOf($collection, $item);
 }