Heystack\Ecommerce\Transaction\Subscriber::__construct
Creates the Susbcriber object
Signature
public function __construct(TransactionInterface
$transaction,
EventDispatcherInterface
$eventDispatcher,
Storage
$storageService,
State
$state )
Parameters
$transaction
— \Heystack\Ecommerce\Transaction\Interfaces\TransactionInterface
$eventDispatcher
— \Symfony\Component\EventDispatcher\EventDispatcherInterface
$storageService
— \Heystack\Core\Storage\Storage
$state
— \Heystack\Core\State\State