| 1 | <?php |
||
| 7 | abstract class AbstractEncryption |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Algorithm\AlgorithmInterface |
||
| 11 | */ |
||
| 12 | protected $algorithm; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param Algorithm\AlgorithmInterface $algorithm |
||
| 16 | */ |
||
| 17 | public function __construct(Algorithm\AlgorithmInterface $algorithm) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | public function getAlgorithmName() |
||
| 29 | } |
||
| 30 |