*/ class Ini extends AbstractType { protected function loadFile() { $return = []; $reader = new IniReader(); try { if (file_exists($this->path . DS . $this->file)) { $return = $reader->readFile($this->path . DS . $this->file); } } catch (IniReadingException $e) { ServiceLocator::call('errorManager')->addError(self::class, $e->getMessage(), $e->getTrace()); } $this->data = $return; } }