public function __construct() { $child = get_class($this); $this->childClass = array('namespaceArray' => explode('\\', $child), 'namespaceString' => $child); $this->configMain = Resources\Config::main(); $this->uri = new Resources\Uri(); $this->settings = new Models\Settings(); $this->themeName = $this->settings->all()->theme; }
public function testConfigMainArray() { $this->assertTrue(is_array(\Resources\Config::main())); }