• This project
    • Loading...
  • Sign in

web / hood · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
75c6e290bd7db8a75e30e7b1a5470bb7ca1b841a
  • hood
  • Hood
  • Validator.php
  • 添加数据校验模块
    72422302
    by ziy
    10 years ago  
    Browse Files
Validator.php 370 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php
/**
 * Created by PhpStorm.
 * User: Zip
 * Date: 15/4/19
 * Time: 下午7:32
 */

namespace Hood;

use Hood\Helper\Validation;

class Validator
{
    static public function make(array $data, array $rules, array $messagesAttribute = array())
    {
        $validator = new Validation\Validator($data, $rules, $messagesAttribute);
        return $validator;
    }
}