function RegistryParseFileTestCase::getFileContents
getFileContents
1 call to RegistryParseFileTestCase::getFileContents()
- RegistryParseFileTestCase::testRegistryParseFile in modules/
simpletest/ tests/ registry.test - testRegistryParseFile
File
-
modules/
simpletest/ tests/ registry.test, line 38
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.