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__avion-poeme/include/swiftmailer/lib/dependency_maps/cache_deps.php

24 lines
620 B
PHP
Raw Normal View History

2021-06-17 18:35:51 +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')
;