Custom tasks extension, basic implementation

This commit is contained in:
Alan Cell
2020-11-12 08:06:36 +01:00
parent 84548c4f63
commit 143bcac1f9
5 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace Tasks;
use Classes\IceExtension;
class Extension extends IceExtension
{
public function install() {
$migration = new Migration();
return $migration->up();
}
public function uninstall() {
$migration = new Migration();
return $migration->down();
}
public function setupModuleClassDefinitions()
{
}
public function setupRestEndPoints()
{
}
}