first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user