-
Notifications
You must be signed in to change notification settings - Fork 4
/
cache.xml
39 lines (33 loc) · 1.97 KB
/
cache.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="incenteev_hashed_asset.cache.file">%kernel.cache_dir%/incenteev_asset_hashes.php</parameter>
</parameters>
<services>
<service id="incenteev_hashed_asset.cached_hasher" class="Incenteev\HashedAssetBundle\Hashing\CachedHasher" public="false" decorates="incenteev_hashed_asset.asset_hasher">
<argument type="service" id="incenteev_hashed_asset.cached_hasher.inner" />
<argument type="service">
<service class="Symfony\Component\Cache\Adapter\PhpArrayAdapter">
<factory class="Symfony\Component\Cache\Adapter\PhpArrayAdapter" method="create" />
<argument>%incenteev_hashed_asset.cache.file%</argument>
<argument type="service" id="cache.incenteev_hashed_asset" />
</service>
</argument>
</service>
<service id="incenteev_hashed_asset.cache_warmer" class="Incenteev\HashedAssetBundle\CacheWarmer\HashCacheWarmer" public="false">
<argument type="service" id="incenteev_hashed_asset.asset_finder" />
<argument>%incenteev_hashed_asset.cache.file%</argument>
<argument type="service" id="incenteev_hashed_asset.file_hasher" />
<argument type="service" id="cache.incenteev_hashed_asset" />
<tag name="kernel.cache_warmer" />
</service>
<service id="incenteev_hashed_asset.asset_finder" class="Incenteev\HashedAssetBundle\CacheWarmer\AssetFinder" public="false">
<argument />
</service>
<service id="cache.incenteev_hashed_asset" parent="cache.system" public="false">
<tag name="cache.pool" />
</service>
</services>
</container>