public function getInfo() { $path = $this->getInfoFilePath(); $contents = file_get_contents($path); if (!$contents) { return; } return json_decode($contents, true); }