diff --git a/README.md b/README.md index 03a72b5..741f963 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# Potter Framework Component Template +# Potter Framework Event Dispatcher Implementation Hello World \ No newline at end of file diff --git a/composer.json b/composer.json index 88f10f4..3e12d2c 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,9 @@ { - "name": "potter/template", - "description": "Potter Framework Component Template", + "name": "potter/event", + "description": "Potter Framework Event Dispatcher Implementation", "version": "1.0.0", "type": "library", - "homepage": "https://gitpotter.com/Potter/Template", + "homepage": "https://gitpotter.com/Potter/Event", "license": "MIT", "authors": [ { @@ -14,11 +14,14 @@ ], "autoload": { "psr-4": { - "Potter\\Template\\": "src/Potter/Template/" + "Potter\\Event\\": "src/Potter/Event/" } }, "minimum-stability": "stable", "require": { - "php": "^8.3" + "php": "^8.3", + "psr/event-dispatcher": "^1.0", + "league/event": "^3.0", + "potter/aware": "^1.0" } } diff --git a/src/Potter/Event/AbstractDispatcher.php b/src/Potter/Event/AbstractDispatcher.php new file mode 100644 index 0000000..cc2574a --- /dev/null +++ b/src/Potter/Event/AbstractDispatcher.php @@ -0,0 +1,10 @@ +