Пример #1
0
 public function cargarCarrito()
 {
     self::$carrito = new Carrito();
     self::$carrito->agregarItem(new Item('hotel A', '2006-12-21'));
     self::$carrito->agregarItem(new Item('hotel A', '2006-12-22'));
     self::$carrito->agregarItem(new Item('hotel A', '2006-12-23'));
     self::$carrito->agregarItem(new Item('hotel A', '2006-12-24'));
 }