Exemplo n.º 1
0
 /**
  * StringList constructor.
  */
 public function __construct()
 {
     parent::__construct(gettype(''));
 }
 public static function sort(GenericList $list, $func = null)
 {
     if (empty($func)) {
         return sort($list->toArray());
     } else {
         return usort($list->toArray(), $func);
     }
 }