private static function getItem($id){
    	if(!isset(self::$items[$id]))
    		throw new \Exception("Item $id not found");
    		
    	return self::$items[$id];
    }
private static function getItem($id){
    	if(!isset(self::$items[$id]))
    		throw new \Exception("Item $id not found");
    		
    	return self::$items[$id];
    }
private static function getItem ( $ id ) { if ( ! isset ( self :: $ items [ $ id ] ) ) throw new \ Exception ( "Item $id not found" ) ; return self :: $ items [ $ id ] ; }
Get item by id
Get item by id