1: <?php
2:
3: namespace mcfedr\Paypal\Exceptions;
4:
5: /**
6: * Base of invalid notifications
7: */
8: abstract class NotificationInvalidException extends Exception {
9:
10: /**
11: * The notification that caused the exception
12: *
13: * @var \mcfedr\Paypal\Notifications\Notification
14: */
15: protected $notification;
16:
17: /**
18: * The notification that caused the exception
19: *
20: * @return \mcfedr\Paypal\Notifications\Notification
21: */
22: public function getNotification() {
23: return $this->notification;
24: }
25:
26: }
27: