From e50779d1d57436abf6bad814ed949bf104275fa4 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Tue, 7 Dec 2021 19:54:27 +0300 Subject: [PATCH] Create Actionable.php --- src/LaravelActions/Actionable.php | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/LaravelActions/Actionable.php diff --git a/src/LaravelActions/Actionable.php b/src/LaravelActions/Actionable.php new file mode 100644 index 0000000..6181715 --- /dev/null +++ b/src/LaravelActions/Actionable.php @@ -0,0 +1,33 @@ + + * + * @copyright 2021 Andrey Helldar + * + * @license MIT + * + * @see https://github.com/TheDragonCode/contracts + */ + +declare(strict_types=1); + +namespace DragonCode\LaravelActions\Contracts; + +interface Actionable +{ + /** + * Run the actions. + */ + public function up(): void; + + /** + * Reverse the actions. + */ + public function down(): void; +}