/** * @deprecated Please use full certificates instead. */ public function __construct(LoggerInterface $logger, FingerprintLoader $fingerprintLoader) { $this->fingerprintLoader = $fingerprintLoader; parent::__construct($logger); }
public function __construct(LoggerInterface $logger, KeyLoader $keyLoader) { $this->keyLoader = $keyLoader; parent::__construct($logger); }
/** * Constructor that allows to control the behavior of the Validator * * @param bool $canValidate the return value of the canValidate call * @param bool $isValid the return value of the isValid hasValidSignature call */ public function __construct($canValidate, $isValid) { $this->canValidate = $canValidate; $this->isValid = $isValid; parent::__construct(new \Psr\Log\NullLogger()); }