getParam() public method

Deprecation: all parameters should be defined in function's arguments
public getParam ( $key, boolean $rawValue = false ) : mixed
$key
$rawValue boolean if true returns rawValue (not stripped) only once, don't save in cache
return mixed
コード例 #1
0
ファイル: Controller.php プロジェクト: rakesh-mohanta/scalr
 public function getParam($key)
 {
     return $this->request->getParam($key);
 }
コード例 #2
0
ファイル: Controller.php プロジェクト: rickb838/scalr
 /**
  * @deprecated
  * @param $key
  * @param bool $rawValue if true returns rawValue (not stripped) only once, don't save in cache
  * @return mixed
  */
 public function getParam($key, $rawValue = false)
 {
     return $this->request->getParam($key, $rawValue);
 }