PHP Class Elcodi\Plugin\PaypalWebCheckoutBundle\EventListener\PaymentCollectEventListener

Exibir arquivo Open project: elcodi/bamboo

Protected Properties

Property Type Description
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin
$router Symfony\Component\Routing\Generator\UrlGeneratorInterface Router

Public Methods

Method Description
__construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $router, Elcodi\Component\Plugin\Entity\Plugin $plugin ) Construct
addPaypalPaymentMethod ( Elcodi\Component\Payment\Event\PaymentCollectionEvent $event ) Add PayPal payment method

Method Details

__construct() public method

Construct
public __construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $router, Elcodi\Component\Plugin\Entity\Plugin $plugin )
$router Symfony\Component\Routing\Generator\UrlGeneratorInterface Router
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin

addPaypalPaymentMethod() public method

Add PayPal payment method
public addPaypalPaymentMethod ( Elcodi\Component\Payment\Event\PaymentCollectionEvent $event )
$event Elcodi\Component\Payment\Event\PaymentCollectionEvent Event

Property Details

$plugin protected_oe property

Plugin
protected Plugin,Elcodi\Component\Plugin\Entity $plugin
return Elcodi\Component\Plugin\Entity\Plugin

$router protected_oe property

Router
protected UrlGeneratorInterface,Symfony\Component\Routing\Generator $router
return Symfony\Component\Routing\Generator\UrlGeneratorInterface