From d71453a0269df807f10ee7e32f9d9c56e6b90749 Mon Sep 17 00:00:00 2001 From: Jay Potter Date: Sat, 21 Mar 2026 09:31:11 -0400 Subject: [PATCH] initialize --- .gitignore | 2 +- README.md | 2 +- composer.json | 12 +++++++----- src/Potter/Template/AbstractTemplate.php | 8 -------- src/Potter/Template/Template.php | 10 ---------- src/Potter/Template/TemplateInterface.php | 8 -------- src/Potter/Template/TemplateTrait.php | 8 -------- src/Potter/Throwable/ThrowableInterface.php | 20 ++++++++++++++++++++ src/Potter/Throwable/ThrowableTrait.php | 8 ++++++++ 9 files changed, 37 insertions(+), 41 deletions(-) delete mode 100644 src/Potter/Template/AbstractTemplate.php delete mode 100644 src/Potter/Template/Template.php delete mode 100644 src/Potter/Template/TemplateInterface.php delete mode 100644 src/Potter/Template/TemplateTrait.php create mode 100644 src/Potter/Throwable/ThrowableInterface.php create mode 100644 src/Potter/Throwable/ThrowableTrait.php diff --git a/.gitignore b/.gitignore index df8b2d5..c7ce00a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ composer.lock composer.phar -/nbproject/private/ +/nbproject/ /vendor/ \ No newline at end of file diff --git a/README.md b/README.md index 03a72b5..426ddbf 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# Potter Framework Component Template +# Potter Framework Throwable Interface Hello World \ No newline at end of file diff --git a/composer.json b/composer.json index 88f10f4..6a27a51 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,9 @@ { - "name": "potter/template", - "description": "Potter Framework Component Template", + "name": "potter/throwable", + "description": "Potter Framework Throwable Interface", "version": "1.0.0", "type": "library", - "homepage": "https://gitpotter.com/Potter/Template", + "homepage": "https://gitpotter.com/Potter/Throwable", "license": "MIT", "authors": [ { @@ -14,11 +14,13 @@ ], "autoload": { "psr-4": { - "Potter\\Template\\": "src/Potter/Template/" + "Potter\\Throwable\\": "src/Potter/Throwable/" } }, "minimum-stability": "stable", "require": { - "php": "^8.3" + "php": "^8.3", + "potter/stringable": "^1.0", + "potter/template": "^1.0" } } diff --git a/src/Potter/Template/AbstractTemplate.php b/src/Potter/Template/AbstractTemplate.php deleted file mode 100644 index da5f656..0000000 --- a/src/Potter/Template/AbstractTemplate.php +++ /dev/null @@ -1,8 +0,0 @@ -