mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
[feature/merging-style-components] Renaming style locator
Renaming style locator to style resource locator PHPBB3-10632
This commit is contained in:
@@ -25,7 +25,7 @@ if (!defined('IN_PHPBB'))
|
|||||||
*
|
*
|
||||||
* @package phpBB3
|
* @package phpBB3
|
||||||
*/
|
*/
|
||||||
class phpbb_style_locator
|
class phpbb_style_resource_locator
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Paths to directories that templates are stored in.
|
* Paths to directories that templates are stored in.
|
@@ -78,7 +78,7 @@ class phpbb_style
|
|||||||
$this->phpEx = $phpEx;
|
$this->phpEx = $phpEx;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
$this->user = $user;
|
$this->user = $user;
|
||||||
$this->locator = new phpbb_style_locator();
|
$this->locator = new phpbb_style_resource_locator();
|
||||||
$this->provider = new phpbb_style_path_provider();
|
$this->provider = new phpbb_style_path_provider();
|
||||||
if ($phpbb_extension_manager !== false)
|
if ($phpbb_extension_manager !== false)
|
||||||
{
|
{
|
||||||
|
@@ -64,7 +64,7 @@ class phpbb_style_template
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Template locator
|
* Template locator
|
||||||
* @var phpbb_style_locator
|
* @var phpbb_style_resource_locator
|
||||||
*/
|
*/
|
||||||
private $locator;
|
private $locator;
|
||||||
|
|
||||||
@@ -79,10 +79,10 @@ class phpbb_style_template
|
|||||||
*
|
*
|
||||||
* @param string $phpbb_root_path phpBB root path
|
* @param string $phpbb_root_path phpBB root path
|
||||||
* @param user $user current user
|
* @param user $user current user
|
||||||
* @param phpbb_style_locator $locator template locator
|
* @param phpbb_style_resource_locator $locator template locator
|
||||||
* @param phpbb_style_path_provider $provider template path provider
|
* @param phpbb_style_path_provider $provider template path provider
|
||||||
*/
|
*/
|
||||||
public function __construct($phpbb_root_path, $phpEx, $config, $user, phpbb_style_locator $locator, phpbb_style_path_provider_interface $provider)
|
public function __construct($phpbb_root_path, $phpEx, $config, $user, phpbb_style_resource_locator $locator, phpbb_style_path_provider_interface $provider)
|
||||||
{
|
{
|
||||||
$this->phpbb_root_path = $phpbb_root_path;
|
$this->phpbb_root_path = $phpbb_root_path;
|
||||||
$this->phpEx = $phpEx;
|
$this->phpEx = $phpEx;
|
||||||
|
Reference in New Issue
Block a user