public function load($file) { return $this->process((array) Neon\Neon::decode(file_get_contents($file))); }
/** * @return mixed */ protected function loadConfig() { $this->data = $this->adapter->load($this->fileName); $data = $this->data; foreach ($this->root as $item) { $data = isset($data[$item]) ? $data[$item] : array(); } return $data; }