/** * Constructor * * @param ResultInterfaceFactory $resultFactory * @param SubjectReader $subjectReader */ public function __construct(ResultInterfaceFactory $resultFactory, SubjectReader $subjectReader) { parent::__construct($resultFactory); $this->subjectReader = $subjectReader; }
/** * GeneralResponseValidator constructor. * * @param \Magento\Payment\Gateway\Validator\ResultInterfaceFactory $resultFactory * @param \Adyen\Payment\Logger\AdyenLogger $adyenLogger */ public function __construct(\Magento\Payment\Gateway\Validator\ResultInterfaceFactory $resultFactory, \Adyen\Payment\Logger\AdyenLogger $adyenLogger) { $this->adyenLogger = $adyenLogger; parent::__construct($resultFactory); }
/** * @param ResultInterfaceFactory $resultFactory * @param TMapFactory $tmapFactory * @param array $validators */ public function __construct(ResultInterfaceFactory $resultFactory, TMapFactory $tmapFactory, array $validators = []) { $this->validators = $tmapFactory->create(['array' => $validators, 'type' => ValidatorInterface::class]); parent::__construct($resultFactory); }
/** * @param ResultInterfaceFactory $resultFactory * @param array $validators * @param TMapFactory $tmapFactory */ public function __construct(ResultInterfaceFactory $resultFactory, array $validators, TMapFactory $tmapFactory) { $this->validators = $tmapFactory->create(['array' => $validators, 'type' => 'Magento\\Payment\\Gateway\\Validator\\ValidatorInterface']); parent::__construct($resultFactory); }
/** * @param ResultInterfaceFactory $resultFactory * @param \Magento\Payment\Gateway\ConfigInterface $config */ public function __construct(ResultInterfaceFactory $resultFactory, ConfigInterface $config) { $this->config = $config; parent::__construct($resultFactory); }