aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/di/processor/config.php (renamed from phpBB/includes/di/compiler/config_pass.php)5
-rw-r--r--phpBB/includes/di/processor/interface.php23
2 files changed, 26 insertions, 2 deletions
diff --git a/phpBB/includes/di/compiler/config_pass.php b/phpBB/includes/di/processor/config.php
index 0234ab4ebf..d9f866992e 100644
--- a/phpBB/includes/di/compiler/config_pass.php
+++ b/phpBB/includes/di/processor/config.php
@@ -15,12 +15,13 @@ if (!defined('IN_PHPBB'))
exit;
}
-use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
-class phpbb_di_compiler_config_pass implements CompilerPassInterface
+class phpbb_di_processor_config implements phpbb_di_processor_interface
{
private $config_file;
+ private $phpbb_root_path;
+ private $php_ext;
public function __construct($config_file, $phpbb_root_path, $php_ext)
{
diff --git a/phpBB/includes/di/processor/interface.php b/phpBB/includes/di/processor/interface.php
new file mode 100644
index 0000000000..51bd85a076
--- /dev/null
+++ b/phpBB/includes/di/processor/interface.php
@@ -0,0 +1,23 @@
+<?php
+/**
+*
+* @package phpBB3
+* @copyright (c) 2012 phpBB Group
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+*
+*/
+
+/**
+* @ignore
+*/
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
+
+use Symfony\Component\DependencyInjection\ContainerBuilder;
+
+interface phpbb_di_processor_interface
+{
+ public function process(ContainerBuilder $container);
+}