Compare commits
4 Commits
099a9745df
...
cb4b2397ab
| Author | SHA1 | Date | |
|---|---|---|---|
| cb4b2397ab | |||
| 681a15e3d8 | |||
| 49a634d772 | |||
|
|
2862a8d4e1 |
8
.gitignore
vendored
8
.gitignore
vendored
@@ -1,8 +1,4 @@
|
||||
# ---> Composer
|
||||
composer.lock
|
||||
composer.phar
|
||||
/nbproject/
|
||||
/vendor/
|
||||
|
||||
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
|
||||
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
|
||||
# composer.lock
|
||||
|
||||
|
||||
20
composer.json
Normal file
20
composer.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "potter/stringable",
|
||||
"type": "library",
|
||||
"require": {
|
||||
"php": "^8.4"
|
||||
},
|
||||
"license": "MIT",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Potter\\Stringable\\": "src/Potter/Stringable/"
|
||||
}
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jay Potter",
|
||||
"email": "j@ypotter.ca"
|
||||
}
|
||||
],
|
||||
"minimum-stability": "dev"
|
||||
}
|
||||
12
src/Potter/Stringable/StringableInterface.php
Normal file
12
src/Potter/Stringable/StringableInterface.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Stringable;
|
||||
|
||||
use \Stringable;
|
||||
|
||||
interface StringableInterface extends Stringable
|
||||
{
|
||||
public function __toString(): string;
|
||||
}
|
||||
Reference in New Issue
Block a user