aboutsummaryrefslogtreecommitdiff
path: root/h-source/External/swiftmailer/lib/dependency_maps/cache_deps.php
blob: 605820646542138f2e15ab6d4443e6494d263ee6 (plain) (blame)
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
<?php

Swift_DependencyContainer::getInstance()
  
  -> register('cache')
  -> asAliasOf('cache.array')
  
  -> register('tempdir')
  -> asValue('/tmp')
  
  -> register('cache.null')
  -> asSharedInstanceOf('Swift_KeyCache_NullKeyCache')
  
  -> register('cache.array')
  -> asSharedInstanceOf('Swift_KeyCache_ArrayKeyCache')
  -> withDependencies(array('cache.inputstream'))
  
  -> register('cache.disk')
  -> asSharedInstanceOf('Swift_KeyCache_DiskKeyCache')
  -> withDependencies(array('cache.inputstream', 'tempdir'))
  
  -> register('cache.inputstream')
  -> asNewInstanceOf('Swift_KeyCache_SimpleKeyCacheInputStream')
  
  ;