function RegistryParseFileTestCase::getFileContents in SimpleTest 7
getFileContents
1 call to RegistryParseFileTestCase::getFileContents()
- RegistryParseFileTestCase::testRegistryParseFile in tests/
registry.test - testRegistryParseFile
File
- tests/
registry.test, line 33
Class
Code
function getFileContents() {
$file_contents = <<<CONTENTS
<?php
class {<span class="php-variable">$this</span>-><span class="php-function-or-constant property member-of-self">className</span>} {}
interface {<span class="php-variable">$this</span>-><span class="php-function-or-constant property member-of-self">interfaceName</span>} {}
CONTENTS;
return $file_contents;
}