Пример #1
0
 /**
  * @deprecated Please use full certificates instead.
  */
 public function __construct(LoggerInterface $logger, FingerprintLoader $fingerprintLoader)
 {
     $this->fingerprintLoader = $fingerprintLoader;
     parent::__construct($logger);
 }
Пример #2
0
 public function __construct(LoggerInterface $logger, KeyLoader $keyLoader)
 {
     $this->keyLoader = $keyLoader;
     parent::__construct($logger);
 }
Пример #3
0
 /**
  * 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());
 }