public function getContent() {
        $class = new \PhpParser\Node\Stmt\Class_($this->targetClass);
        $this->extendClass($class);
        $ast = array_merge($this->ast, array($class));
        $code = fphp\Helper\PhpParser::astToString($ast);
        return new fphp\File\TextFileContent($code);
    }
public function getContent() {
        $class = new \PhpParser\Node\Stmt\Class_($this->targetClass);
        $this->extendClass($class);
        $ast = array_merge($this->ast, array($class));
        $code = fphp\Helper\PhpParser::astToString($ast);
        return new fphp\File\TextFileContent($code);
    }
public function getContent ( ) { $ class = new \ PhpParser \ Node \ Stmt \ Class_ ( $ this -> targetClass ) ; $ this -> extendClass ( $ class ) ; $ ast = array_merge ( $ this -> ast , array ( $ class ) ) ; $ code = fphp \ Helper \ PhpParser :: astToString ( $ ast ) ; return new fphp \ File \ TextFileContent ( $ code ) ; }
Returns the refined file's content.
@return \FeaturePhp\File\TextFileContent
Returns the refined file s content .