/** * GenerateCommand constructor. * @param LoggerInterface $logger * @param CashoutInitializer $processor * @param array $cycleDays * @param int $cycleHour * @param int $cycleMinute * @param $cycleIntervalBefore * @param $cycleIntervalAfter * @param $transactionFilterRegex */ public function __construct(LoggerInterface $logger, CashoutInitializer $processor, array $cycleDays, $cycleHour, $cycleMinute, $cycleIntervalBefore, $cycleIntervalAfter, $transactionFilterRegex) { $this->processor = $processor; $this->cycleDays = is_array($cycleDays) ? $cycleDays : array($cycleDays); $this->cycleHour = $cycleHour; $this->cycleMinute = $cycleMinute; $this->cycleIntervalBefore = $cycleIntervalBefore; $this->cycleIntervalAfter = $cycleIntervalAfter; $this->transactionFilterRegex = $transactionFilterRegex; parent::__construct($logger); }
/** * RecordCommand constructor. * @param LoggerInterface $logger * @param Processor $vendorProcessor */ public function __construct(LoggerInterface $logger, Processor $vendorProcessor) { parent::__construct($logger); $this->vendorProcessor = $vendorProcessor; }
public function __construct(LoggerInterface $logger, VendorProcessor $processor, $tmpPath) { $this->processor = $processor; $this->tmpPath = $tmpPath; parent::__construct($logger); }
public function __construct(LoggerInterface $logger, CashoutProcessor $processor) { parent::__construct($logger); $this->processor = $processor; }
public function configure() { parent::configure(); $this->setName('vendor:wallet:list')->setDescription('List the wallets created at HiPay')->addOption(self::PAST_DATE, 'date', InputOption::VALUE_REQUIRED, "Limit to the wallet created after given date (format YYYY-mm-dd)"); }
public function configure() { parent::configure(); $this->setName('vendor:wallet:bankInfos')->setDescription('Fetch the wallet bank info from HiPay')->addArgument(static::HIPAY_ID, InputArgument::REQUIRED, 'The HiPay wallet id'); }