-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrey Helldar
authored
Dec 7, 2021
1 parent
9d63ddf
commit e50779d
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the "dragon-code/contracts" project. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Andrey Helldar <[email protected]> | ||
* | ||
* @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; | ||
} |