public function singleFragment($name, $configuration, ProviderInterface $provider)
    {
        foreach ($this->types as $type => $class) {
            if (!empty($configuration[$type])) {
                return $this->instance($class, $name, $configuration, $provider);
            }
        }

        return $this->instance($this->default, $name, $configuration, $provider);
    }