[CONFIG] Make it possible to write module configuration in a config.{php,yml,yaml,xml} file and set each value as properties in the module object

This commit is contained in:
2021-08-21 22:30:24 +01:00
parent 3587b8dc1d
commit c71a4b06ef
6 changed files with 83 additions and 19 deletions

View File

@@ -11,15 +11,7 @@ use App\Core\Event;
*/
abstract class Plugin extends Module
{
public function __construct()
{
parent::__construct();
}
public function name()
{
return mb_substr(static::class, 0, -6);
}
const MODULE_TYPE = 'plugin';
public function version()
{