Scalr\Tests\Service\CloudStack\CloudStackTestCase::getFixtureFileContent PHP Метод

getFixtureFileContent() публичный Метод

Gets fixture file content
public getFixtureFileContent ( string $filename ) : string
$filename string A fixture file name
Результат string Returns fixture file content
    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);
    }