1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/13008] Add functionnal test
  [ticket/13008] Use an absolute path with the FileLocator for the routing files
This commit is contained in:
Andreas Fischer
2014-08-24 22:32:55 +02:00
8 changed files with 69 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
{
"name": "foo/foo",
"type": "phpbb-extension",
"description": "Testing extensions",
"homepage": "",
"version": "1.0.0",
"time": "2013-03-21 01:01:01",
"license": "GPL-2.0",
"authors": [{
"name": "Tristan Darricau",
"email": "nicofuma@phpbb.com",
"homepage": "http://www.phpbb.com",
"role": "Developer"
}],
"require": {
"php": ">=5.3"
},
"extra": {
"display-name": "phpBB 3.1 Extension Testing",
"soft-require": {
"phpbb/phpbb": "3.1.*@dev"
}
}
}

View File

@@ -0,0 +1,3 @@
foo_foo_controller:
pattern: /foo
defaults: { _controller: foo_foo.controller:handle }

View File

@@ -0,0 +1,3 @@
foo_foo.general:
resource: "resource.yml"
prefix: /foo

View File

@@ -0,0 +1,3 @@
services:
foo_foo.controller:
class: foo\foo\controller\controller

View File

@@ -0,0 +1,13 @@
<?php
namespace foo\foo\controller;
use Symfony\Component\HttpFoundation\Response;
class controller
{
public function handle()
{
return new Response('foo/foo controller handle() method', 200);
}
}

View File

@@ -0,0 +1,8 @@
<?php
namespace foo\foo;
class ext extends \phpbb\extension\base
{
}