Advertisement
scm22ri

AccountController Function that accepts input

Nov 23rd, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1.         $rules = array(
  2.             'expression' => 'required|max:90|min:3|AlphaSpaces|unique:sayings'
  3.         );
  4.         // var_dump($rules); // returns $rules
  5.        
  6.         $validator = Validator::make(Input::all(), $rules);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement