public function get(string $key)
    {
        if (!$this->has($key)) {
            throw new \RuntimeException('No item with name ' . $key . ' available');
        }

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