21 lines
366 B
PHP
21 lines
366 B
PHP
<?php
|
|
|
|
namespace PrestaShop\Module\PsEventbus\Repository;
|
|
|
|
use Configuration;
|
|
|
|
class ConfigurationRepository
|
|
{
|
|
/**
|
|
* We wrap Configuration::get function in here to be able to mock static functions
|
|
*
|
|
* @param string $key
|
|
*
|
|
* @return bool|string
|
|
*/
|
|
public function get($key)
|
|
{
|
|
return Configuration::get($key);
|
|
}
|
|
}
|