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

Commit 1c1befd

Browse files
committed
update namespace
1 parent f1411c3 commit 1c1befd

Some content is hidden

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

60 files changed

+145
-145
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
### tool library list
44

5-
- `inhere\library\collections` 数据收集器
6-
- `inhere\library\console` 控制台的一些简单交互
7-
- `inhere\library\di` 依赖注入容器,提供服务管理
8-
- `inhere\library\env` 环境信息收集, `Server`: 服务端信息. `Client`: 客户端信息
9-
- `inhere\library\files` 文件系统操作(文件(夹)读取,检查,创建);文件上传/下载,图片处理(缩略图/水印),图片验证码生成
10-
- `inhere\library\helpers` 辅助类库(`string array object date url curl php`)
11-
- `inhere\library\language` 语言包处理类
5+
- `inhere\librarys\collections` 数据收集器
6+
- `inhere\librarys\console` 控制台的一些简单交互
7+
- `inhere\librarys\di` 依赖注入容器,提供服务管理
8+
- `inhere\librarys\env` 环境信息收集, `Server`: 服务端信息. `Client`: 客户端信息
9+
- `inhere\librarys\files` 文件系统操作(文件(夹)读取,检查,创建);文件上传/下载,图片处理(缩略图/水印),图片验证码生成
10+
- `inhere\librarys\helpers` 辅助类库(`string array object date url curl php`)
11+
- `inhere\librarys\language` 语言包处理类
1212
- `functions.php` 一些有用的函数
1313

1414
### 收集的一些库(推荐使用)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"autoload": {
2121
"psr-4": {
22-
"inhere\\library\\" : "src/"
22+
"inhere\\librarys\\" : "src/"
2323
},
2424
"files" : [
2525
"src/functions.php",

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\librarys\collections`
55

66
数据收集器
77

8-
## `inhere\library\console`
8+
## `inhere\librarys\console`
99

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

12-
## `inhere\library\di`
12+
## `inhere\librarys\di`
1313

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

16-
## `inhere\library\env`
16+
## `inhere\librarys\env`
1717

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

20-
## `inhere\library\files`
20+
## `inhere\librarys\files`
2121

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

24-
## `inhere\library\helpers`
24+
## `inhere\librarys\helpers`
2525

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

28-
## `inhere\library\language`
28+
## `inhere\librarys\language`
2929

3030
语言包处理类
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\librarys\collections\SimpleCollection;
88

99
/**
1010
* Class BaseModel

src/StdBase.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
* Time: 10:35
77
*/
88

9-
namespace inhere\library;
9+
namespace inhere\librarys;
1010

11-
use inhere\library\exceptions\SetPropertyException;
12-
use inhere\library\exceptions\GetPropertyException;
13-
use inhere\library\exceptions\NotFoundException;
14-
use inhere\library\exceptions\UnknownCalledException;
11+
use inhere\librarys\exceptions\SetPropertyException;
12+
use inhere\librarys\exceptions\GetPropertyException;
13+
use inhere\librarys\exceptions\NotFoundException;
14+
use inhere\librarys\exceptions\UnknownCalledException;
1515

1616
abstract class StdBase
1717
{

src/auth/User.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
* Time: 21:57
77
*/
88

9-
namespace inhere\library\auth;
9+
namespace inhere\librarys\auth;
1010

11-
use inhere\library\interfaces\CollectionInterface;
12-
use inhere\library\collections\SimpleCollection;
11+
use inhere\librarys\interfaces\CollectionInterface;
12+
use inhere\librarys\collections\SimpleCollection;
1313

1414
/**
1515
* Class User
16-
* @package inhere\library\auth
16+
* @package inhere\librarys\auth
1717
*
1818
* @property int id
1919
*/

src/collections/ActiveData.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
* File: ActiveData.php
1212
*/
1313

14-
namespace inhere\library\collections;
14+
namespace inhere\librarys\collections;
1515

1616
/**
1717
* Class ActiveData
18-
* @package inhere\library\collections
18+
* @package inhere\librarys\collections
1919
*/
2020
class ActiveData implements \ArrayAccess, \IteratorAggregate
2121
{

src/collections/DataCollector.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
* @referee windwalker-registry {@link https://github.com/ventoviro/windwalker-registry}
44
*/
55

6-
namespace inhere\library\collections;
6+
namespace inhere\librarys\collections;
77

88
use RuntimeException;
9-
use inhere\library\exceptions\DataParseException;
9+
use inhere\librarys\exceptions\DataParseException;
1010

1111
/**
1212
* Class DataCollector - 数据收集器 (数据存储器 - DataStorage)
13-
* @package inhere\library\collections
13+
* @package inhere\librarys\collections
1414
*
1515
* 支持 链式的子节点 设置 和 值获取
1616
* e.g:

src/collections/FixedData.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
* 仅允许通过实例化时 或 调用load() 载入数据
1111
* File: FixedData.php StrictData.php
1212
*/
13-
namespace inhere\library\collections;
14-
use inhere\library\exceptions\UnknownCalledException;
13+
namespace inhere\librarys\collections;
14+
use inhere\librarys\exceptions\UnknownCalledException;
1515

1616
/**
1717
* Class FixedData
18-
* @package inhere\library\collections
18+
* @package inhere\librarys\collections
1919
*/
2020
class FixedData extends ActiveData
2121
{

src/collections/SimpleCollection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

3-
namespace inhere\library\collections;
3+
namespace inhere\librarys\collections;
44

55
use ArrayIterator;
6-
use inhere\library\interfaces\CollectionInterface;
6+
use inhere\librarys\interfaces\CollectionInterface;
77

88
/**
99
* Collection
1010
* This class provides a common interface used by many other
11-
* classes in a inhere\library application that manage "collections"
11+
* classes in a inhere\librarys application that manage "collections"
1212
* of data that must be inspected and/or manipulated
1313
*/
1414
class SimpleCollection implements CollectionInterface

0 commit comments

Comments
 (0)