[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:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user