This commit is contained in:
7
app/Interfaces/BaseContract.php
Normal file
7
app/Interfaces/BaseContract.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
interface BaseContract
|
||||
{
|
||||
}
|
||||
11
app/Interfaces/BotContract.php
Normal file
11
app/Interfaces/BotContract.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
use Illuminate\Http\JsonResponse;
|
||||
|
||||
interface BotContract extends BaseContract
|
||||
{
|
||||
public function run(): JsonResponse;
|
||||
public static function configSchema(): array;
|
||||
}
|
||||
9
app/Interfaces/ScriptContract.php
Normal file
9
app/Interfaces/ScriptContract.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
interface ScriptContract extends BaseContract
|
||||
{
|
||||
public function run(): string;
|
||||
public static function configSchema(): array;
|
||||
}
|
||||
Reference in New Issue
Block a user