| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 26 | public static function createDecrypter(array $algorithms, array $payload_converters = [], array $compression_methods = ['DEF'], array $checker_managers = []) |
||
| 27 | { |
||
| 28 | $algorithm_manager = AlgorithmManagerFactory::createAlgorithmManager($algorithms); |
||
| 29 | $payload_converter_manager = PayloadConverterFactory::createPayloadConverter($payload_converters); |
||
| 30 | $compression_manager = CompressionManagerFactory::createCompressionManager($compression_methods); |
||
| 31 | $checker_manager = CheckerManagerFactory::createCheckerManager($checker_managers); |
||
| 32 | |||
| 33 | return new Decrypter($algorithm_manager, $payload_converter_manager, $compression_manager, $checker_manager); |
||
| 34 | } |
||
| 35 | } |
||
| 36 |