Illuminate\Routing\Router::input PHP 메소드

input() 공개 메소드

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

Usage Example

예제 #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