diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-05-07 10:04:13 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-05-07 10:04:13 +0200 |
commit | 1d121938f643737ca9de76286eef164c67f69482 (patch) | |
tree | d4f177acc7caaf847aed24395286fff51983cbd1 /examples/plugin-simple/plugins/SimplePlugin/Plugin.php | |
parent | c25458eebe35d71ba446a26d1a2c265668f7ee3e (diff) |
Create examples
Diffstat (limited to 'examples/plugin-simple/plugins/SimplePlugin/Plugin.php')
-rw-r--r-- | examples/plugin-simple/plugins/SimplePlugin/Plugin.php | 14 |
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); + } + } +} |