mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/13502] Test getArguments() method of controller resolver
PHPBB3-13502
This commit is contained in:
@@ -11,8 +11,18 @@ class controller
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
public function handle()
|
||||
public function handle($optional = 'foo')
|
||||
{
|
||||
return new Response('Test', 200);
|
||||
}
|
||||
|
||||
public function handle2($foo = 'foo', $very_optional = 0)
|
||||
{
|
||||
return new Response('Test2', 200);
|
||||
}
|
||||
|
||||
public function handle_fail($no_default)
|
||||
{
|
||||
return new Response('Test_fail', 200);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user