Conditions | 3 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function __construct(BinnEncode $encodingImpl = null, BinnDecode $decodingImpl = null) |
||
18 | { |
||
19 | $this->encodingImpl = $encodingImpl ?: new BinnEncode( |
||
20 | (new EncoderCollectionFactory())->getCollection() |
||
21 | ); |
||
22 | |||
23 | $this->decodingImpl = $decodingImpl ?: new BinnDecode( |
||
24 | (new DecoderCollectionFactory())->getCollection() |
||
25 | ); |
||
54 |