Symfony Asset for static versions

Code
<?php

use Symfony\Component\Asset\UrlPackage;
use 
Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy;

$versionStrategy = new StaticVersionStrategy('1.0.0''%s?v%s');
$url 'http://my-website.dev';
$package = new UrlPackage($url$versionStrategy);

echo 
$package->getUrl('image.png');
Result
http://my-website.dev/image.png?v1.0.0
Used Versions
PHP 7.3, Zend 3.0, Symfony 4.3, Laravel 5.8, PHPUnit 8.0, Doctrine 2.10