Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
4 / 4 |
| AlgorithmsProvider | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
4 / 4 |
| getAlgorithms() | |
100.00% |
1 / 1 |
1 | |
100.00% |
4 / 4 |
|||
| <?php | |
| /** | |
| * @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl> | |
| */ | |
| namespace Team3\PayU\SignatureCalculator\Encoder\Algorithms; | |
| class AlgorithmsProvider implements AlgorithmsProviderInterface | |
| { | |
| /** | |
| * @return AlgorithmInterface[] | |
| */ | |
| public function getAlgorithms() | |
| { | |
| return [ | |
| new Md5Algorithm(), | |
| new Sha1Algorithm(), | |
| new Sha256Algorithm() | |
| ]; | |
| } | |
| } |