Example #1
0
 public static function addItem(Item $item, $check = true)
 {
     if (!$check || $item->match(self::$query)) {
         self::$items[] = $item;
     }
 }