aboutsummaryrefslogtreecommitdiffstats
path: root/tests/controller/ext/vendor2/foo/controller.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-03-07 12:32:38 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-03-07 12:32:38 +0100
commit51273f6fb1421b68c1931c3960f68cd483f1ee95 (patch)
tree2d982cc9fe52b4a9ee9a3b47a59658ba631c6444 /tests/controller/ext/vendor2/foo/controller.php
parent4b6f3f8b0fc3fc3b0d7fa0147930d0ea02107a8f (diff)
downloadforums-51273f6fb1421b68c1931c3960f68cd483f1ee95.tar
forums-51273f6fb1421b68c1931c3960f68cd483f1ee95.tar.gz
forums-51273f6fb1421b68c1931c3960f68cd483f1ee95.tar.bz2
forums-51273f6fb1421b68c1931c3960f68cd483f1ee95.tar.xz
forums-51273f6fb1421b68c1931c3960f68cd483f1ee95.zip
[ticket/12090] Pass route name to url() to allow admins to change the routes
PHPBB3-12090
Diffstat (limited to 'tests/controller/ext/vendor2/foo/controller.php')
-rw-r--r--tests/controller/ext/vendor2/foo/controller.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/controller/ext/vendor2/foo/controller.php b/tests/controller/ext/vendor2/foo/controller.php
new file mode 100644
index 0000000000..ce2233b3c9
--- /dev/null
+++ b/tests/controller/ext/vendor2/foo/controller.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace foo;
+
+use Symfony\Component\HttpFoundation\Response;
+
+class controller
+{
+ /**
+ * Handle method
+ *
+ * @return null
+ */
+ public function handle()
+ {
+ return new Response('Test', 200);
+ }
+}