public function __construct(SimpleTransactionGroup $group) { parent::__construct(); $this->transactions = $group->getTransactions(); $this->inventories = $group->getInventories(); $this->source = $group->getSource(); $this->matchItems($this->output, $this->input); }