Skip to content

Commit

Permalink
Create Actionable.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar authored Dec 7, 2021
1 parent 9d63ddf commit e50779d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/LaravelActions/Actionable.php
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;
}

0 comments on commit e50779d

Please sign in to comment.