objectManager = $objectManager; } /** * Returns a new instance of ConfigData on every call. * * @param string $fileKey * @return ConfigData */ public function create($fileKey) { return $this->objectManager->create(ConfigData::class, ['fileKey' => $fileKey]); } }