public function get($id)
    {
        $id = (string) $id;

        if (!$this->has($id)) {
            throw new NotFoundException(sprintf('The item with identifier "%s" was not found.', $id));
        }

        return $this->items[$id];
    }