function addItem($id, $href, $mediaType, $properties = null) { $this->manifest->addItem(new Item($id, $href, $mediaType, $properties)); }