FeaturePhp/File/TemplateFile.php
public function getContent() {
        $content = file_get_contents($this->fileSource);
        foreach ($this->rules as $rule)
            $content = $rule->apply($content);
        return new TextFileContent($content);
    }
public function getContent() {
        $content = file_get_contents($this->fileSource);
        foreach ($this->rules as $rule)
            $content = $rule->apply($content);
        return new TextFileContent($content);
    }
public function getContent ( ) { $ content = file_get_contents ( $ this -> fileSource ) ; foreach ( $ this -> rules as $ rule ) $ content = $ rule -> apply ( $ content ) ; return new TextFileContent ( $ content ) ; }
Returns the template file's content.
The content consists of the file content with every rule applied.
@return TextFileContent
Returns the template file s content . The content consists of the file content with every rule applied .