assets.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" ?>
  2. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <services>
  6. <service id="assets.packages" class="Symfony\Component\Asset\Packages">
  7. <argument type="service" id="assets.empty_package" /> <!-- default package -->
  8. <argument type="collection" /> <!-- named packages -->
  9. </service>
  10. <service id="assets.empty_package" class="Symfony\Component\Asset\Package" public="false">
  11. <argument type="service" id="assets.empty_version_strategy" />
  12. </service>
  13. <service id="assets.context" class="Symfony\Component\Asset\Context\RequestStackContext">
  14. <argument type="service" id="request_stack" />
  15. </service>
  16. <service id="assets.path_package" class="Symfony\Component\Asset\PathPackage" abstract="true">
  17. <argument /> <!-- base path -->
  18. <argument /> <!-- version strategy -->
  19. <argument type="service" id="assets.context" />
  20. </service>
  21. <service id="assets.url_package" class="Symfony\Component\Asset\UrlPackage" abstract="true">
  22. <argument /> <!-- base URLs -->
  23. <argument /> <!-- version strategy -->
  24. <argument type="service" id="assets.context" />
  25. </service>
  26. <service id="assets.static_version_strategy" class="Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy" abstract="true">
  27. <argument /> <!-- version -->
  28. <argument /> <!-- format -->
  29. </service>
  30. <service id="assets.empty_version_strategy" class="Symfony\Component\Asset\VersionStrategy\EmptyVersionStrategy" public="false" />
  31. </services>
  32. </container>