-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,18 @@ | ||
{ | ||
"name": "xzusoft/validate", | ||
"description": "验证器", | ||
"type": "library", | ||
"description": "An efficient swoole framework", | ||
"keywords": [ | ||
"swoole", | ||
"framework", | ||
"async", | ||
"easyswoole" | ||
], | ||
"homepage": "https://www.xzusoft.com/", | ||
"require": { | ||
"php": ">=7.1.0", | ||
"easyswoole/spl": "^1.0" | ||
}, | ||
"license": "Apache-2.0", | ||
"authors": [ | ||
{ | ||
"name": "xzusoft", | ||
"name": "xzsoft", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.1.0", | ||
"easyswoole/spl": "^1.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Xzusoft\\Validate\\": "src/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,13 +6,16 @@ | |
* Time: 下午12:56 | ||
*/ | ||
|
||
namespace EasySwoole\Validate; | ||
namespace Xzusoft\Validate; | ||
|
||
/** | ||
* 错误消息 | ||
* Class Error | ||
* @revise : 2018-11-15 by eValor | ||
* @package EasySwoole\Validate | ||
* | ||
* @package Xzusoft\Validate | ||
* @author : jingzhou | ||
* @email : [email protected] | ||
* @date : 2020/2/21 23:52 | ||
* @desc : 错误消息 | ||
*/ | ||
class Error | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,18 @@ | |
* Time: 上午12:41 | ||
*/ | ||
|
||
namespace EasySwoole\Validate; | ||
|
||
namespace Xzusoft\Validate; | ||
/** | ||
* 校验规则 | ||
* 请以首字母排序校验方法以便后期维护 | ||
* | ||
* Class Rule | ||
* @package EasySwoole\Validate | ||
* | ||
* @package Xzusoft\Validate | ||
* @author : jingzhou | ||
* @email : [email protected] | ||
* @date : 2020/2/21 23:53 | ||
* @desc : 校验规则 请以首字母排序校验方法以便后期维护 | ||
*/ | ||
|
||
class Rule | ||
{ | ||
protected $ruleMap = []; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters