[ticket/15289] Update provider

PHPBB3-15289
This commit is contained in:
Rubén Calvo 2017-08-03 19:09:51 +02:00
parent 0b75f1e46a
commit 7f4e47d26f
2 changed files with 10 additions and 5 deletions

View file

@ -15,16 +15,14 @@ namespace phpbb\storage\provider;
class local implements provider_interface class local implements provider_interface
{ {
/**
* {@inheritdoc}
*/
public function get_name() public function get_name()
{ {
return 'local'; return 'local';
} }
public function get_class()
{
return get_class($this);
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View file

@ -15,6 +15,13 @@ namespace phpbb\storage\provider;
interface provider_interface interface provider_interface
{ {
/**
* Gets adapter name.
*
* @return string
*/
public function get_name();
/** /**
* Gets adapter class. * Gets adapter class.
* *