We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e228bf6 commit 0d38b1cCopy full SHA for 0d38b1c
components/asset.rst
@@ -204,10 +204,10 @@ class can take into account the context of the current request::
204
new StaticVersionStrategy('v1'),
205
new RequestStackContext($requestStack)
206
);
207
-
+
208
echo $package->getUrl('logo.png');
209
// result: /somewhere/static/images/logo.png?v1
210
211
// Both "base path" and "base url" are ignored when using absolute path for asset
212
echo $package->getUrl('/logo.png');
213
// result: /logo.png?v1
0 commit comments