Sonata\Component\Payment\PaymentHandler::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( Sonata\Component\Order\OrderManagerInterface $orderManager, Sonata\Component\Payment\PaymentSelectorInterface $paymentSelector, Sonata\Component\Generator\ReferenceInterface $referenceGenerator, TransactionManagerInterface $transactionManager, Sonata\NotificationBundle\Backend\BackendInterface $notificationBackend, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )
$orderManager Sonata\Component\Order\OrderManagerInterface
$paymentSelector Sonata\Component\Payment\PaymentSelectorInterface
$referenceGenerator Sonata\Component\Generator\ReferenceInterface
$transactionManager TransactionManagerInterface
$notificationBackend Sonata\NotificationBundle\Backend\BackendInterface
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
    public function __construct(OrderManagerInterface $orderManager, PaymentSelectorInterface $paymentSelector, ReferenceInterface $referenceGenerator, TransactionManagerInterface $transactionManager, BackendInterface $notificationBackend, EventDispatcherInterface $eventDispatcher)
    {
        $this->orderManager = $orderManager;
        $this->paymentSelector = $paymentSelector;
        $this->referenceGenerator = $referenceGenerator;
        $this->transactionManager = $transactionManager;
        $this->notificationBackend = $notificationBackend;
        $this->eventDispatcher = $eventDispatcher;
    }