/** * Sort the array using the given Closure. * * @param array $array * @param \Closure $callback * @return array */ public static function sort($array, Closure $callback) { return Collection::make($array)->sortBy($callback)->all(); }
/** * @param string $iso * * @return bool */ public function has($iso) { $iso = $this->prepareIso($iso); return parent::has($iso); }
/** * @param array $items */ function __construct($items = []) { parent::__construct($items); }