Skip to content

Commit 684efe5

Browse files
authored
Merge pull request #13 from grayfolk/dev
Update AbstractAction.php
2 parents ec4ce30 + d03c946 commit 684efe5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/actions/AbstractAction.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@
44

55
namespace App\actions;
66

7+
use App\App;
8+
79
abstract class AbstractAction
810
{
911
public bool $alert = false;
1012

1113
public function clearCache(): void
1214
{
1315
}
16+
17+
abstract public static function getInstance(App $app): self;
18+
19+
abstract public function run(): void;
1420
}

0 commit comments

Comments
 (0)