Scalr\Tests\Service\AwsTestCase::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);
    }