aboutsummaryrefslogtreecommitdiffstats
path: root/tests/controller/ext/vendor2/foo/controller.php
blob: b2c3df616c0a274b383d1fc61e6d832c12b1574b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

namespace foo;

use Symfony\Component\HttpFoundation\Response;

class controller
{
	/**
	* Handle method
	*
	* @return null
	*/
	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);
	}
}