public function get(string $name, $default = null)
    {
        if ( ! $this->has($name)) {
            throw new \RuntimeException('No item "' . $name . '" exists in the registry.');
        }

        return Arr::get($this->registry, $name, $default);
    }