Skip to content

Commit 16cc23f

Browse files
committed
To pass custom data in query parameter
There is a query option in flow.js object, and it sends it's contents to php in params member of the Request object. BUT! it is not accessible in client code. This PR makes it possible to access custom params specified in client part in the query option.
1 parent a1f471b commit 16cc23f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Flow/Request.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct($params = null, $file = null)
4545
*
4646
* @return string|int|null
4747
*/
48-
protected function getParam($name)
48+
public function getParam($name)
4949
{
5050
return isset($this->params[$name]) ? $this->params[$name] : null;
5151
}

0 commit comments

Comments
 (0)