Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b64ef1ef67 | |||
| feb0308d68 | |||
| f2e2f1244a | |||
| 8d2e197ffa |
@@ -113,4 +113,10 @@ class Request {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Change or set the value of a parameter.
|
||||
*/
|
||||
public function setQueryParameter(string $key, string $value = "") {
|
||||
$this->post[$key] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ class TwigRender {
|
||||
/**
|
||||
* Add global variable(s) to template.
|
||||
*
|
||||
* @return string
|
||||
* @return object
|
||||
*/
|
||||
public function addGlobals($name, $value) : self {
|
||||
$this->twig->addGlobal($name, $value);
|
||||
|
||||
Reference in New Issue
Block a user