Skip to content
This repository was archived by the owner on Jan 23, 2019. It is now read-only.

Commit 8a3464c

Browse files
committed
change namespace to upper char
1 parent cc578c2 commit 8a3464c

File tree

102 files changed

+313
-313
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+313
-313
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,23 @@ git clone https://github.com/inhere/php-librarys.git
3636

3737
基础库:
3838

39-
- `inhere\library\collections` 数据收集器. (数据收集/全局配置/语言包处理类)
40-
- `inhere\library\di` 依赖注入容器,提供服务管理
41-
- `inhere\library\files` 文件系统操作(文件(夹)读取,检查,创建);`json ini yml` 文件的扩展解析
42-
- `inhere\library\helpers` 辅助类库(`string array object date url curl php format json`)
43-
- `inhere\library\traits` 一些常用的traits(`ArrayAccess` `GetterSetterAccess` `SimpleAlias` `SimpleConfig` `SimpleEvent`)
44-
- `inhere\library\utils` 一些独立的工具类(`autoloader logger`)
39+
- `Inhere\Library\Collections` 数据收集器. (数据收集/全局配置/语言包处理类)
40+
- `Inhere\Library\DI` 依赖注入容器,提供服务管理
41+
- `Inhere\Library\Files` 文件系统操作(文件(夹)读取,检查,创建);`json ini yml` 文件的扩展解析
42+
- `Inhere\Library\Helpers` 辅助类库(`string array object date url curl php format json`)
43+
- `Inhere\Library\Traits` 一些常用的traits(`ArrayAccess` `GetterSetterAccess` `SimpleAlias` `SimpleConfig` `SimpleEvent`)
44+
- `Inhere\Library\Utils` 一些独立的工具类(`autoloader logger`)
4545
- `functions.php` 一些有用的函数
4646

4747
已迁移至 `inhere/library-plus`:
4848

49-
- `inhere\library\env` 环境信息收集, `Server`: 服务端信息. `Client`: 客户端信息
50-
- `inhere\library\event` 事件调度器
51-
- `inhere\library\files` 文件系统操作(文件(夹)读取,检查,创建);文件上传/下载,图片处理(缩略图/水印),图片验证码生成
52-
- `inhere\library\asset` 资源(css,js)管理,加载,发布
53-
- `inhere\library\html` html 元素创建, dom 创建
54-
- `inhere\library\network` network 工具库(`telnet`)
55-
- `inhere\library\utils` 一些独立的工具类(`memcache`)
49+
- `Inhere\Library\env` 环境信息收集, `Server`: 服务端信息. `Client`: 客户端信息
50+
- `Inhere\Library\event` 事件调度器
51+
- `Inhere\Library\Files` 文件系统操作(文件(夹)读取,检查,创建);文件上传/下载,图片处理(缩略图/水印),图片验证码生成
52+
- `Inhere\Library\asset` 资源(css,js)管理,加载,发布
53+
- `Inhere\Library\html` html 元素创建, dom 创建
54+
- `Inhere\Library\network` network 工具库(`telnet`)
55+
- `Inhere\Library\Utils` 一些独立的工具类(`memcache`)
5656

5757
[Document](doc/document.md)
5858

doc/document.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
# php-librarys
22

33

4-
## `inhere\library\collections`
4+
## `Inhere\Library\Collections`
55

66
数据收集器
77

8-
## `inhere\library\console`
8+
## `Inhere\Library\console`
99

1010
控制台的一些简单交互
1111

12-
## `inhere\library\di`
12+
## `Inhere\Library\DI`
1313

1414
依赖注入容器,提供服务管理
1515

16-
## `inhere\library\env`
16+
## `Inhere\Library\env`
1717

1818
环境信息收集, `Server`: 服务端信息. `Client`: 客户端信息
1919

20-
## `inhere\library\files`
20+
## `Inhere\Library\Files`
2121

2222
文件系统操作(文件(夹)读取,检查,创建);文件上传/下载,图片处理(缩略图/水印),图片验证码生成
2323

24-
## `inhere\library\helpers`
24+
## `Inhere\Library\Helpers`
2525

2626
辅助类库(`string array object date url php`)
2727

28-
## `inhere\library\language`
28+
## `Inhere\Library\language`
2929

3030
语言包处理类 [detail document](language.md)
3131

doc/extend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
```php
66

7-
use inhere\library\collections\SimpleCollection;
7+
use Inhere\Library\Collections\SimpleCollection;
88

99
/**
1010
* Class BaseModel

doc/file-system.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### FileSystem
66

7-
class `inhere\library\files\FileSystem`
7+
class `Inhere\Library\Files\FileSystem`
88

99
provide method:
1010

@@ -24,7 +24,7 @@ pathModeInfo
2424

2525
### Directory
2626

27-
class `inhere\library\files\Directory`, it extend of `FileSystem`.
27+
class `Inhere\Library\Files\Directory`, it extend of `FileSystem`.
2828

2929
provide method:
3030

@@ -43,7 +43,7 @@ jieYa
4343

4444
### File
4545

46-
class `inhere\library\files\File`, it extend of `FileSystem`.
46+
class `Inhere\Library\Files\File`, it extend of `FileSystem`.
4747

4848
provide method:
4949

@@ -68,7 +68,7 @@ margePhp
6868

6969
### Read
7070

71-
class `inhere\library\files\Read`, it extend of `File`.
71+
class `Inhere\Library\Files\Read`, it extend of `File`.
7272

7373
provide method:
7474

examples/di.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* Time: 11:57
77
*/
88

9-
use inhere\library\di\Container;
10-
use inhere\library\utils\LiteLogger;
9+
use Inhere\Library\DI\Container;
10+
use Inhere\Library\Utils\LiteLogger;
1111

1212
require __DIR__ . '/s-autoload.php';
1313

@@ -21,4 +21,4 @@
2121

2222
var_dump($di);
2323

24-
var_dump($di->get('logger2'));
24+
var_dump($di->get('logger2'));

examples/lang.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
require __DIR__ . '/s-autoload.php';
1010

11-
$lg = new \inhere\library\components\Language([
11+
$lg = new \Inhere\Library\Components\Language([
1212
'basePath' => __DIR__ . '/tmp',
1313
'lang' => 'zh-CN',
1414
'ignoreError' => 1,// if is true, will ignore not exists lang file

examples/logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 下午12:46
77
*/
88

9-
use inhere\library\utils\LiteLogger;
9+
use Inhere\Library\Utils\LiteLogger;
1010

1111
require __DIR__ . '/s-autoload.php';
1212

examples/pro_logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 下午10:35
77
*/
88

9-
use inhere\library\process\ProcessLogger;
9+
use Inhere\Library\process\ProcessLogger;
1010

1111
require __DIR__ . '/s-autoload.php';
1212

examples/s-autoload.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
{
1818
$inhereDir = dirname(__DIR__, 2);
1919
$map = [
20-
'inhere\library\examples\\' => __DIR__,
21-
'inhere\library\\' => dirname(__DIR__) . '/src',
20+
'Inhere\Library\examples\\' => __DIR__,
21+
'Inhere\Library\\' => dirname(__DIR__) . '/src',
2222
'inhere\queue\\' => $inhereDir . '/queue/src',
2323
];
2424

@@ -36,4 +36,4 @@
3636

3737
function include_file($file) {
3838
include $file;
39-
}
39+
}

examples/telnet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
printf("Connect to the server {$host}:{$port}");
3636

37-
$tt = new \inhere\library\network\Telnet($host, $port);
37+
$tt = new \Inhere\Library\network\Telnet($host, $port);
3838

3939
// var_dump($tt);die;
4040

0 commit comments

Comments
 (0)