public function getFixtureFileContent($filename) { $path = $this->getFixtureFilePath($filename); if (!file_exists($path)) { throw new \RuntimeException('Could not find the file ' . $path); } return file_get_contents($path); }