index of
/
home
/
thefkyzp
/
hulmvisaadvisor.com
/
wp-content
/
plugins
/
surecart
/
core
/
app-core
/
src
/
Config
/
File: /home/thefkyzp/hulmvisaadvisor.com/wp-content/plugins/surecart/core/app-core/src/Config/Config.php
<?php /** * @package SureCartAppCore * @author SureCart <support@surecart.com> * @copyright SureCart * @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 * @link https://surecart.com */ namespace SureCartAppCore\Config; use SureCartCore\Helpers\MixedType; use SureCartAppCore\Concerns\ReadsJsonTrait; class Config { use ReadsJsonTrait { load as traitLoad; } /** * App root path. * * @var string */ protected $path = ''; /** * Constructor. * * @param string $path */ public function __construct( $path ) { $this->path = $path; } /** * {@inheritDoc} */ protected function getJsonPath() { return MixedType::normalizePath( $this->path . DIRECTORY_SEPARATOR . 'config.json' ); } }