public function __construct(Encryption\EncryptionInterface $encryption, Encoding\EncoderInterface $encoder) { $this->encryption = $encryption; $this->encoder = $encoder; $this->signer = new Signature\Jws($this->encryption, $this->encoder); }
public function __construct(Encryption\EncryptionInterface $encryption, Encoding\EncoderInterface $encoder, SignerInterface $signer) { parent::__construct($encryption, $encoder); $this->signer = $signer; }