Vérifier si la demande est GET ou POST

Dans mon controller/action:

if(!empty($_POST))
{
    if(Auth::attempt(Input::get('data')))
    {
        return Redirect::intended();
    }
    else
    {
        Session::flash('error_message','');
    }
}

Est-il une méthode en Laravel de vérifier si la demande est POST ou GET?

InformationsquelleAutor JoeLoco | 2014-01-11