refractor to potter/rewindable

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