<?php

class ShoppingCart {

  // TODO

  function add($name, $count = 1) {
    // TODO
  }

}

// Do not modify code bellow this line.

// Expected output:
// Content:
//  milk : 2
//  bread : 2

if (!isset($ignoreTest)) {
  // Create a new instance of a shipping cart
  $cart = new ShoppingCart();
  // Add given number of items.
  $cart->add('milk', 1);
  $cart->add('bread', 2);
  $cart->add('basil', 1);
  // By default one item is added.
  $cart->add('milk');
  // Remove all
  $cart->remove('basil');
  // This will try to convert the ShoppingClass into a string.
  print($cart);
}