Illuminate\Routing\Router::input PHP Méthode

input() public méthode

Get a route parameter for the current route.
public input ( string $key, string $default = null ) : mixed
$key string
$default string
Résultat mixed
    public function input($key, $default = null)
    {
        return $this->current()->parameter($key, $default);
    }

Usage Example

Exemple #1
0
 /**
  * Get a route parameter for the current route.
  *
  * @param string $key
  * @param string $default
  * @return mixed 
  * @static 
  */
 public static function input($key, $default = null)
 {
     return \Illuminate\Routing\Router::input($key, $default);
 }
All Usage Examples Of Illuminate\Routing\Router::input