1 | <?php |
||
15 | class UpdatePaymentStatusExtension implements ExtensionInterface |
||
16 | { |
||
17 | /** |
||
18 | * $events. |
||
19 | * |
||
20 | * @var \Illuminate\Contracts\Events\Dispatcher |
||
21 | */ |
||
22 | protected $events; |
||
23 | |||
24 | /** |
||
25 | * __construct. |
||
26 | * |
||
27 | * @param \Illuminate\Contracts\Events\Dispatcher $events |
||
28 | */ |
||
29 | 4 | public function __construct(Dispatcher $events) |
|
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 1 | public function onPreExecute(Context $context) |
|
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | 1 | public function onExecute(Context $context) |
|
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | 4 | public function onPostExecute(Context $context) |
|
73 | } |
||
74 |