public function __construct(Algorithm\AlgorithmInterface $algorithm) { $this->algorithm = $algorithm; }
/** * @param Algorithm\AsymmetricInterface $algorithm */ public function __construct(Algorithm\AsymmetricInterface $algorithm) { parent::__construct($algorithm); }