mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 21:08:53 +00:00
36 lines
660 B
PHP
36 lines
660 B
PHP
<?php
|
|
/**
|
|
*
|
|
* @package controller
|
|
* @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\Routing\RouteCollection;
|
|
|
|
/**
|
|
* Controller manager class
|
|
* @package phpBB3
|
|
*/
|
|
class phpbb_controller_route_collection extends RouteCollection
|
|
{
|
|
/**
|
|
* Construct method
|
|
*
|
|
* @param phpbb_extension_finder $finder Finder object
|
|
*/
|
|
public function __construct(phpbb_extension_finder $finder, phpbb_controller_provider $provider)
|
|
{
|
|
parent::__construct();
|
|
$this->addCollection($provider->get_paths($finder)->find());
|
|
}
|
|
}
|