File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,16 +180,16 @@ listed in the manifest::
180
180
// error:
181
181
182
182
If your JSON file is not on your local filesystem but is accessible over HTTP,
183
- use the :class: `Symfony\\ Component\\ Asset\\ VersionStrategy\\ RemoteJsonManifestVersionStrategy `
183
+ use the :class: `Symfony\\ Component\\ Asset\\ VersionStrategy\\ JsonManifestVersionStrategy `
184
184
with the :doc: `HttpClient component </http_client >`::
185
185
186
186
use Symfony\Component\Asset\Package;
187
- use Symfony\Component\Asset\VersionStrategy\RemoteJsonManifestVersionStrategy ;
187
+ use Symfony\Component\Asset\VersionStrategy\JsonManifestVersionStrategy ;
188
188
use Symfony\Component\HttpClient\HttpClient;
189
189
190
190
$httpClient = HttpClient::create();
191
191
$manifestUrl = 'https://cdn.example.com/rev-manifest.json';
192
- $package = new Package(new RemoteJsonManifestVersionStrategy ($manifestUrl, $httpClient));
192
+ $package = new Package(new JsonManifestVersionStrategy ($manifestUrl, $httpClient));
193
193
194
194
Custom Version Strategies
195
195
.........................
You can’t perform that action at this time.
0 commit comments