public function add(string $identifier, FragmentConfig $config): FragmentRegistryInterface
    {
        // Override existing fragments with the same identifier
        $this->fragments[$identifier] = $config;

        return $this;
    }
public function add(string $identifier, FragmentConfig $config): FragmentRegistryInterface
    {
        
        $this->fragments[$identifier] = $config;

        return $this;
    }
public function add ( string $ identifier , FragmentConfig $ config ) : FragmentRegistryInterface { // Override existing fragments with the same identifier $ this -> fragments [ $ identifier ] = $ config ; return $ this ; }
{@inheritdoc}
{