mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 21:24:52 +08:00
116 lines
1.6 KiB
Markdown
116 lines
1.6 KiB
Markdown
|
|
# ZM\Store\FileSystem
|
||
|
|
|
||
|
|
## scanDirFiles
|
||
|
|
|
||
|
|
```php
|
||
|
|
public function scanDirFiles(string $dir, bool $recursive, mixed $relative, bool $include_dir): mixed
|
||
|
|
```
|
||
|
|
|
||
|
|
### 描述
|
||
|
|
|
||
|
|
作者很懒,什么也没有说
|
||
|
|
|
||
|
|
### 参数
|
||
|
|
|
||
|
|
| 名称 | 类型 | 描述 |
|
||
|
|
| -------- | ---- | ----------- |
|
||
|
|
| dir | string | |
|
||
|
|
| recursive | bool | |
|
||
|
|
| relative | mixed | |
|
||
|
|
| include_dir | bool | |
|
||
|
|
|
||
|
|
### 返回
|
||
|
|
|
||
|
|
| 类型 | 描述 |
|
||
|
|
| ---- | ----------- |
|
||
|
|
| mixed | |
|
||
|
|
|
||
|
|
|
||
|
|
## isRelativePath
|
||
|
|
|
||
|
|
```php
|
||
|
|
public function isRelativePath(string $path): bool
|
||
|
|
```
|
||
|
|
|
||
|
|
### 描述
|
||
|
|
|
||
|
|
作者很懒,什么也没有说
|
||
|
|
|
||
|
|
### 参数
|
||
|
|
|
||
|
|
| 名称 | 类型 | 描述 |
|
||
|
|
| -------- | ---- | ----------- |
|
||
|
|
| path | string | |
|
||
|
|
|
||
|
|
### 返回
|
||
|
|
|
||
|
|
| 类型 | 描述 |
|
||
|
|
| ---- | ----------- |
|
||
|
|
| bool | |
|
||
|
|
|
||
|
|
|
||
|
|
## createDir
|
||
|
|
|
||
|
|
```php
|
||
|
|
public function createDir(string $path): void
|
||
|
|
```
|
||
|
|
|
||
|
|
### 描述
|
||
|
|
|
||
|
|
作者很懒,什么也没有说
|
||
|
|
|
||
|
|
### 参数
|
||
|
|
|
||
|
|
| 名称 | 类型 | 描述 |
|
||
|
|
| -------- | ---- | ----------- |
|
||
|
|
| path | string | |
|
||
|
|
|
||
|
|
### 返回
|
||
|
|
|
||
|
|
| 类型 | 描述 |
|
||
|
|
| ---- | ----------- |
|
||
|
|
| void | |
|
||
|
|
|
||
|
|
|
||
|
|
## getReloadableFiles
|
||
|
|
|
||
|
|
```php
|
||
|
|
public function getReloadableFiles(): array
|
||
|
|
```
|
||
|
|
|
||
|
|
### 描述
|
||
|
|
|
||
|
|
作者很懒,什么也没有说
|
||
|
|
|
||
|
|
### 返回
|
||
|
|
|
||
|
|
| 类型 | 描述 |
|
||
|
|
| ---- | ----------- |
|
||
|
|
| array | |
|
||
|
|
|
||
|
|
|
||
|
|
## getClassesPsr4
|
||
|
|
|
||
|
|
```php
|
||
|
|
public function getClassesPsr4(string $dir, string $base_namespace, mixed $rule, mixed $return_path_value): array
|
||
|
|
```
|
||
|
|
|
||
|
|
### 描述
|
||
|
|
|
||
|
|
作者很懒,什么也没有说
|
||
|
|
|
||
|
|
### 参数
|
||
|
|
|
||
|
|
| 名称 | 类型 | 描述 |
|
||
|
|
| -------- | ---- | ----------- |
|
||
|
|
| dir | string | |
|
||
|
|
| base_namespace | string | |
|
||
|
|
| rule | mixed | |
|
||
|
|
| return_path_value | mixed | |
|
||
|
|
|
||
|
|
### 返回
|
||
|
|
|
||
|
|
| 类型 | 描述 |
|
||
|
|
| ---- | ----------- |
|
||
|
|
| array | |
|