function RegistryParseFileTestCase::getFileContents

getFileContents

1 call to RegistryParseFileTestCase::getFileContents()
RegistryParseFileTestCase::testRegistryParseFile in drupal/modules/simpletest/tests/registry.test
testRegistryParseFile

File

drupal/modules/simpletest/tests/registry.test, line 34

Class

RegistryParseFileTestCase

Code

function getFileContents() {
  $file_contents = <<<CONTENTS
<?php

class {<span class="php-variable">$this</span>-&gt;<span class="php-function-or-constant property member-of-self">className</span>} {}

interface {<span class="php-variable">$this</span>-&gt;<span class="php-function-or-constant property member-of-self">interfaceName</span>} {}

CONTENTS;
  return $file_contents;
}