1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/include/swiftmailer/lib/dependency_maps/cache_deps.php

24 lines
620 B
PHP
Raw Permalink Normal View History

2021-10-14 17:58:21 +02:00
<?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(['cache.inputstream'])
->register('cache.disk')
->asSharedInstanceOf('Swift_KeyCache_DiskKeyCache')
->withDependencies(['cache.inputstream', 'tempdir'])
->register('cache.inputstream')
->asNewInstanceOf('Swift_KeyCache_SimpleKeyCacheInputStream')
;