Skip to content

Commit 18d1007

Browse files
authored
Add TimelineInstaller class for plugin management
1 parent 880e9b1 commit 18d1007

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
namespace Inachis\Timeline\Installer;
4+
5+
use Inachis\Plugin\PluginInstallerInterface;
6+
7+
final class TimelineInstaller implements PluginInstallerInterface
8+
{
9+
public function install(): void
10+
{
11+
// seed default timeline data or setup permissions
12+
}
13+
14+
public function update(string $from, string $to): void
15+
{
16+
// handle version upgrades
17+
}
18+
19+
public function uninstall(): void
20+
{
21+
// clean up plugin-specific data
22+
}
23+
}

0 commit comments

Comments
 (0)