58 lines
675 B
Markdown
Raw Normal View History

2022-03-27 16:42:36 +08:00
# ZM\Module\ModuleBase
2022-05-05 01:05:50 +00:00
## __construct
2022-03-27 16:42:36 +08:00
```php
2022-05-05 01:05:50 +00:00
public function __construct(string $module_name): mixed
2022-03-27 16:42:36 +08:00
```
### 描述
作者很懒,什么也没有说
2022-05-05 01:05:50 +00:00
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| module_name | string | 模块名称 |
2022-03-27 16:42:36 +08:00
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| mixed | |
2022-05-05 01:05:50 +00:00
## getModuleName
```php
public function getModuleName(): string
```
### 描述
获取模块名称
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| string | |
## getEvents
```php
public function getEvents(): array
```
### 描述
获取事件列表
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| array | |