Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 5
0.00% covered (danger)
0.00%
0 / 5
CRAP
0.00% covered (danger)
0.00%
0 / 1
AbstractListener
0.00% covered (danger)
0.00%
0 / 5
0.00% covered (danger)
0.00%
0 / 5
30
0.00% covered (danger)
0.00%
0 / 1
 onAfterUpdate
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 onAfterRemove
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 onAfterLoad
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 onAfterInsert
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 onAfterClear
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace Flow\Data\Listener;
4
5use Flow\Data\LifecycleHandler;
6
7/**
8 * Inserts mw recentchange rows for flow AbstractRevision instances.
9 */
10class AbstractListener implements LifecycleHandler {
11
12    /**
13     * @inheritDoc
14     */
15    public function onAfterUpdate( $object, array $old, array $new, array $metadata ) {
16    }
17
18    /**
19     * @inheritDoc
20     */
21    public function onAfterRemove( $object, array $old, array $metadata ) {
22    }
23
24    /**
25     * @inheritDoc
26     */
27    public function onAfterLoad( $object, array $row ) {
28    }
29
30    /**
31     * @inheritDoc
32     */
33    public function onAfterInsert( $revision, array $row, array $metadata ) {
34    }
35
36    /**
37     * @inheritDoc
38     */
39    public function onAfterClear() {
40    }
41}