/** * @return \Classes\AdapterMakerFile\FilesFixeds */ public function getFilesFixeds($key) { $key = strtolower($key); if (!isset($this->fileFixedData[$key])) { throw new \Exception('Não existe dados para popular o FilesFixeds ' . $key); } if (!isset($this->instanceFixedFile[$key]) or !$this->instanceFixedFile[$key] instanceof FilesFixeds) { $this->instanceFixedFile[$key] = FilesFixeds::getInstance($this->fileFixedData[$key]); } return $this->instanceFixedFile[$key]; }