Overview

Namespaces

  • Composer
    • Autoload
  • Illuminate
    • Support
      • Contracts
      • Facades
  • Laravella
    • Cart
      • Facades
  • None
  • PHP

Classes

  • App
  • Artisan
  • Auth
  • Blade
  • Cache
  • Config
  • Cookie
  • Crypt
  • DB
  • Event
  • Facade
  • File
  • Form
  • Hash
  • HTML
  • Input
  • Lang
  • Log
  • Mail
  • Paginator
  • Password
  • Queue
  • Redirect
  • Redis
  • Request
  • Response
  • Route
  • Schema
  • Session
  • URL
  • Validator
  • View
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php namespace Illuminate\Support\Facades;
 2: 
 3: class Input extends Facade {
 4: 
 5:     /**
 6:      * Get an item from the input data.
 7:      *
 8:      * This method is used for all request verbs (GET, POST, PUT, and DELETE)
 9:      *
10:      * @param  string $key
11:      * @param  mixed  $default
12:      * @return mixed
13:      */
14:     public static function get($key = null, $default = null)
15:     {
16:         return static::$app['request']->input($key, $default);
17:     }
18: 
19:     /**
20:      * Get the registered name of the component.
21:      *
22:      * @return string
23:      */
24:     protected static function getFacadeAccessor() { return 'request'; }
25: 
26: }
cart API documentation generated by ApiGen 2.8.0