Skip to content

Commit a27a29e

Browse files
committed
minor #19459 [AssetMapper] Mention PublicAssetsFilesystemInterface (javiereguiluz)
This PR was merged into the 6.4 branch. Discussion ---------- [AssetMapper] Mention `PublicAssetsFilesystemInterface` Fixes #19069. Commits ------- e06251b [AssetMapper] Mention PublicAssetsFilesystemInterface
2 parents c881141 + e06251b commit a27a29e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

frontend/asset_mapper.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ This will physically copy all the files from your mapped directories to
9393
``public/assets/`` so that they're served directly by your web server.
9494
See :ref:`Deployment <asset-mapper-deployment>` for more details.
9595

96+
.. tip::
97+
98+
If you need to copy the compiled assets to a different location (e.g. upload
99+
them to S3), create a service that implements ``Symfony\Component\AssetMapper\Path\PublicAssetsFilesystemInterface``
100+
and set its service id (or an alias) to ``asset_mapper.local_public_assets_filesystem``
101+
(to replace the built-in service).
102+
96103
Debugging: Seeing All Mapped Assets
97104
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98105

0 commit comments

Comments
 (0)