PHP Class Elcodi\Plugin\FreePaymentBundle\EventListener\PaymentCollectEventListener

ファイルを表示 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
addFreePaymentPaymentMethod ( Elcodi\Component\Payment\Event\PaymentCollectionEvent $event ) Add Free 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

addFreePaymentPaymentMethod() public method

Add Free payment method
public addFreePaymentPaymentMethod ( 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