1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 11:44:08 +02:00

[feature/oauth] Allow getting original global arrays from request

PHPBB3-11673
This commit is contained in:
Joseph Warner
2013-07-13 12:06:05 -04:00
parent 6479a989c5
commit a6ff239778
3 changed files with 23 additions and 0 deletions

View File

@@ -74,6 +74,11 @@ class phpbb_mock_request implements phpbb_request_interface
return array_keys($this->data[$super_global]);
}
public function original_global_values($super_global = phpbb_request_interface::REQUEST)
{
return $this->data[$super_global];
}
/* custom methods */
public function set_header($header_name, $value)