1 <?php
2
3 /**
4 * ArangoDB PHP Core Client: Basic Test Plugin
5 *
6 * @author Frank Mayer
7 * @copyright Copyright 2013-2015, FRANKMAYER.NET, Athens, Greece
8 */
9
10 namespace frankmayer\ArangoDbPhpCore\Plugins;
11
12
13 /**
14 * Class TestPlugin
15 *
16 * @package frankmayer\ArangoDbPhpCore\Plugins
17 */
18 class TestPlugin extends
19 Plugin
20 {
21 /**
22 * @param $eventName
23 * @param $client
24 * @param $eventData
25 *
26 * @return mixed|void
27 */
28 public function notify($eventName, $client, $eventData)
29 {
30 // echo "tracing event (".($this->priority)."):",$eventName,PHP_EOL;
31 $eventData->pluginTest = 'plugin tested';
32 }
33 }
34