mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 07:52:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
17
app/SiteFeatures/FeatureInterface.php
Normal file
17
app/SiteFeatures/FeatureInterface.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\SiteFeatures;
|
||||
|
||||
use App\DTOs\DynamicForm;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
interface FeatureInterface
|
||||
{
|
||||
public function name(): string;
|
||||
|
||||
public function active(): bool;
|
||||
|
||||
public function form(): ?DynamicForm;
|
||||
|
||||
public function handle(Request $request): void;
|
||||
}
|
Reference in New Issue
Block a user