예제 #1
0
파일: Access.php 프로젝트: pinahq/framework
 private static function sort()
 {
     usort(self::$data, function ($a, $b) {
         return $b[self::ACCESS_FIELD_PRIORITY] - $a[self::ACCESS_FIELD_PRIORITY];
     });
     self::$sorted = true;
 }