summaryrefslogtreecommitdiff
path: root/examples/plugin-simple/plugins/SimplePlugin/Plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plugin-simple/plugins/SimplePlugin/Plugin.php')
-rw-r--r--examples/plugin-simple/plugins/SimplePlugin/Plugin.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/plugin-simple/plugins/SimplePlugin/Plugin.php b/examples/plugin-simple/plugins/SimplePlugin/Plugin.php
new file mode 100644
index 0000000..b59e492
--- /dev/null
+++ b/examples/plugin-simple/plugins/SimplePlugin/Plugin.php
@@ -0,0 +1,14 @@
+<?php
+
+namespace FlatFileForms\Plugins\SimplePlugin;
+
+class Plugin
+{
+ public function __construct()
+ {
+ if (rand(1, 2) === 2) {
+ echo "Simple Plugin output: <pre>";
+ var_dump($_ENV);
+ }
+ }
+}