mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12620] Add support of the environments for the ext routing files
PHPBB3-12620
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
controller3:
|
||||
pattern: /bar
|
||||
defaults: { _controller: bar.controller:handle }
|
3
tests/controller/ext/vendor2/bar/config/services.yml
Normal file
3
tests/controller/ext/vendor2/bar/config/services.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
services:
|
||||
bar.controller:
|
||||
class: bar\controller
|
18
tests/controller/ext/vendor2/bar/controller.php
Normal file
18
tests/controller/ext/vendor2/bar/controller.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace bar;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class controller
|
||||
{
|
||||
/**
|
||||
* Handle method
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
return new Response('Test', 200);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user