generated from Potter/Startable
refractor to potter/stringable
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# Startable
|
||||
# Stringable
|
||||
|
||||
Potter Framework Startable Interface
|
||||
Potter Framework Stringable Interface
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "potter/startable",
|
||||
"description": "Potter Framework Startable Interface",
|
||||
"name": "potter/stringable",
|
||||
"description": "Potter Framework Stringable Interface",
|
||||
"type": "library",
|
||||
"require": {
|
||||
"php": "^8.5"
|
||||
@@ -8,7 +8,7 @@
|
||||
"license": "MIT",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Potter\\Startable\\": "src/Potter/Startable/"
|
||||
"Potter\\Stringable\\": "src/Potter/Stringable/"
|
||||
}
|
||||
},
|
||||
"authors": [
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Startable;
|
||||
|
||||
interface StartableInterface
|
||||
{
|
||||
public function start(): void;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Stringable;
|
||||
|
||||
use \Stringable as BaseStringable;
|
||||
|
||||
interface StringableInterface extends BaseStringable
|
||||
{
|
||||
public function __toString(): string;
|
||||
}
|
||||
Reference in New Issue
Block a user