PHP Class Elcodi\Plugin\FreePaymentBundle\EventListener\PaymentCollectEventListener

Afficher le fichier Open project: elcodi/bamboo

Protected Properties

Свойство Type Description
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin
$router Symfony\Component\Routing\Generator\UrlGeneratorInterface Router

Méthodes publiques

Méthode 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 méthode

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 méthode

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
Résultat Elcodi\Component\Plugin\Entity\Plugin

$router protected_oe property

Router
protected UrlGeneratorInterface,Symfony\Component\Routing\Generator $router
Résultat Symfony\Component\Routing\Generator\UrlGeneratorInterface