1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-18 14:31:19 +02:00

[feature/avatars] Add service containers for avatars

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-11-14 23:14:41 +01:00
parent 076785d76a
commit 60b4c907b2
10 changed files with 122 additions and 53 deletions

View File

@@ -21,6 +21,28 @@ if (!defined('IN_PHPBB'))
*/
abstract class phpbb_avatar_driver implements phpbb_avatar_driver_interface
{
private $name;
/**
* Returns the name of the driver.
*
* @return string Name of wrapped driver.
*/
public function get_name()
{
return $this->name;
}
/**
* Sets the name of the driver.
*
* @param string $name The driver name
*/
public function set_name($name)
{
$this->name = $name;
}
/**
* Current board configuration
* @type phpbb_config