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.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6