* @copyright 2007-2016 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class Adapter_Configuration implements Core_Business_ConfigurationInterface { /** * Returns constant defined by given $key if exists or check directly into PrestaShop * Configuration * @param $key * @return mixed */ public function get($key) { if (defined($key)) { return constant($key); } else { return Configuration::get($key); } } }