[ticket/11450] Fix doc blocks and add missing class var $config

PHPBB3-11450
This commit is contained in:
Joas Schilling 2013-03-18 23:09:37 +01:00
parent 5794b3d621
commit 001e3ebe9e

View file

@ -22,18 +22,56 @@ if (!defined('IN_PHPBB'))
*/ */
class phpbb_extension_metadata_manager class phpbb_extension_metadata_manager
{ {
/**
* phpBB Config instance
* @var phpbb_config
*/
protected $config;
/**
* phpBB Extension Manager
* @var phpbb_extension_manager
*/
protected $extension_manager; protected $extension_manager;
protected $phpbb_root_path;
/**
* phpBB Template instance
* @var phpbb_template
*/
protected $template; protected $template;
/**
* phpBB root path
* @var string
*/
protected $phpbb_root_path;
/**
* Name (including vendor) of the extension
* @var string
*/
protected $ext_name; protected $ext_name;
/**
* Metadata from the composer.json file
* @var array
*/
protected $metadata; protected $metadata;
/**
* Link (including root path) to the metadata file
* @var string
*/
protected $metadata_file; protected $metadata_file;
/** /**
* Creates the metadata manager * Creates the metadata manager
* *
* @param string $extension_manager An instance of the phpbb extension manager * @param string $ext_name Name (including vendor) of the extension
* @param string $phpbb_root_path Path to the phpbb includes directory. * @param phpbb_config $config phpBB Config instance
* @param phpbb_extension_manager $extension_manager An instance of the phpBBb extension manager
* @param phpbb_template $template phpBB Template instance
* @param string $phpbb_root_path Path to the phpbb includes directory.
*/ */
public function __construct($ext_name, phpbb_config $config, phpbb_extension_manager $extension_manager, phpbb_template $template, $phpbb_root_path) public function __construct($ext_name, phpbb_config $config, phpbb_extension_manager $extension_manager, phpbb_template $template, $phpbb_root_path)
{ {