# depicter/1.3.2/modules/wpemerge-app-core/src/Config/Config.php

Depicter — Popup &amp; Slider Builder, version 1.3.2. 43 lines.

- Page: https://pluginprobe.com/plugins/depicter/1.3.2/code/modules/wpemerge-app-core/src/Config/Config.php
- Raw: https://pluginprobe.com/plugins/depicter/1.3.2/raw/modules/wpemerge-app-core/src/Config/Config.php
- Modified: 2022-06-01T06:26:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/depicter/1.3.2/code/modules/wpemerge-app-core/src/Config/Config.php#L10-L20`.

```php
<?php
/**
 * @package   WPEmergeAppCore
 * @author    Atanas Angelov <hi@atanas.dev>
 * @copyright 2017-2020 Atanas Angelov
 * @license   https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
 * @link      https://wpemerge.com/
 */

namespace WPEmergeAppCore\Config;

use WPEmerge\Helpers\MixedType;
use WPEmergeAppCore\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' );
	}
}

```
