Request::query PHP Method

query() public static method

Retrieve a query string item from the request.
public static query ( string $key = null, string | array | null $default = null ) : string | array
$key string
$default string | array | null
return string | array
        public static function query($key = null, $default = null)
        {
            return \Illuminate\Http\Request::query($key, $default);
        }

Usage Example

コード例 #1
0
ファイル: ThemeController.php プロジェクト: weddingjuma/world
 public function configurations()
 {
     $type = \Request::query('type', 'frontend');
     $theme = \Request::query('theme', 'default');
     //exit('themes/'.$type.'/'.$theme.'/config');
     return $this->theme->view('theme.configurations', ['configurations' => $this->configrationRepository->lists('themes/' . $type . '/' . $theme . '/config'), 'configurationRepository' => $this->configrationRepository])->render();
 }
All Usage Examples Of Request::query