azi/input

与用户输入交互的OO方法

0.1 2015-08-20 14:56 UTC

This package is auto-updated.

Last update: 2024-09-25 10:21:12 UTC


README

与用户输入交互的OO方法

use Azi\Input;

$input = Input::all();

$name = Input::post('name');
$search = Input::get('search');

$email = Input::request('email'); 

if(Input::exists('email)){
  // send an email to user
}