public function getCode($file)
    {
        $stmts = $this->parse($file);
        $stmts = $this->traverse($stmts);
        $content = $this->prettyPrint($stmts);

        return $content;
    }
public function getCode($file)
    {
        $stmts = $this->parse($file);
        $stmts = $this->traverse($stmts);
        $content = $this->prettyPrint($stmts);

        return $content;
    }
public function getCode ( $ file ) { $ stmts = $ this -> parse ( $ file ) ; $ stmts = $ this -> traverse ( $ stmts ) ; $ content = $ this -> prettyPrint ( $ stmts ) ; return $ content ; }
Get a pretty printed string of code from a file while applying visitors.

@param string $file

@return string
Get a pretty printed string of code from a file while applying visitors .