refractor to potter/detachable

This commit is contained in:
2026-06-05 14:59:29 -04:00
parent 672d56cb05
commit c106899d24
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
# Startable
Potter Framework Startable Interface
Potter Framework Detachable Interface
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "potter/startable",
"description": "Potter Framework Startable Interface",
"name": "potter/detachable",
"description": "Potter Framework Detachable Interface",
"type": "library",
"require": {
"php": "^8.5"
@@ -8,7 +8,7 @@
"license": "MIT",
"autoload": {
"psr-4": {
"Potter\\Startable\\": "src/Potter/Startable/"
"Potter\\Detachable\\": "src/Potter/Detachable/"
}
},
"authors": [
@@ -0,0 +1,10 @@
<?php
declare(strict_types=1);
namespace Potter\Detachable;
interface DetachableInterface
{
public function detach();
}
@@ -1,10 +0,0 @@
<?php
declare(strict_types=1);
namespace Potter\Startable;
interface StartableInterface
{
public function start(): void;
}