You are here

function RegistryParseFileTestCase::getFileContents in Drupal 7

getFileContents

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

File

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;
}