PHP Class Mdb\PayPal\Ipn\Listener

Exibir arquivo Open project: mike182uk/paypal-ipn-listener

Public Methods

Method Description
__construct ( Mdb\PayPal\Ipn\MessageFactory $messageFactory, Verifier $verifier, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )
listen ( )
onInvalid ( callable $listener )
onVerificationFailure ( callable $listener )
onVerified ( callable $listener )

Method Details

__construct() public method

public __construct ( Mdb\PayPal\Ipn\MessageFactory $messageFactory, Verifier $verifier, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )
$messageFactory Mdb\PayPal\Ipn\MessageFactory
$verifier Verifier
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

listen() public method

public listen ( )

onInvalid() public method

public onInvalid ( callable $listener )
$listener callable

onVerificationFailure() public method

public onVerificationFailure ( callable $listener )
$listener callable

onVerified() public method

public onVerified ( callable $listener )
$listener callable