Compare commits
5 Commits
a35d571a6f
...
5d224bcc02
| Author | SHA1 | Date | |
|---|---|---|---|
| 5d224bcc02 | |||
| 5571f44c96 | |||
| 4f87e60b9e | |||
| b56cb27409 | |||
| c49b9795cd |
10
.gitignore
vendored
10
.gitignore
vendored
@@ -1,8 +1,4 @@
|
||||
# ---> Composer
|
||||
composer.lock
|
||||
composer.phar
|
||||
/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
|
||||
|
||||
/nbproject/
|
||||
/vendor/
|
||||
21
composer.json
Normal file
21
composer.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "potter/throwable",
|
||||
"type": "library",
|
||||
"require": {
|
||||
"php": "^8.4",
|
||||
"potter/stringable": "dev-main"
|
||||
},
|
||||
"license": "MIT",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Potter\\Throwable\\": "src/Potter/Throwable/"
|
||||
}
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jay Potter",
|
||||
"email": "j@ypotter.ca"
|
||||
}
|
||||
],
|
||||
"minimum-stability": "dev"
|
||||
}
|
||||
12
src/Potter/Throwable/AbstractThrowable.php
Normal file
12
src/Potter/Throwable/AbstractThrowable.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Throwable;
|
||||
|
||||
use \Exception;
|
||||
|
||||
abstract class AbstractThrowable extends Exception implements ThrowableInterface
|
||||
{
|
||||
|
||||
}
|
||||
12
src/Potter/Throwable/ThrowableInterface.php
Normal file
12
src/Potter/Throwable/ThrowableInterface.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Throwable;
|
||||
|
||||
use \Potter\Stringable\StringableInterface;
|
||||
|
||||
interface ThrowableInterface extends StringableInterface
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user