protected function generateFileContents()
    {
        $data = $this->classTemplate;

        $data = str_replace("{EXTENDS}", $this->extends, $data);
        $data = str_replace("{NAMESPACE}", $this->namespace, $data);
        $data = str_replace("{CLASSNAME}", $this->classname, $data);
        $data = str_replace("{CONTENTS}", $this->contents, $data);
        $data = str_replace("{USES}", $this->uses, $data);

        return $data;
    }
protected function generateFileContents()
    {
        $data = $this->classTemplate;

        $data = str_replace("{EXTENDS}", $this->extends, $data);
        $data = str_replace("{NAMESPACE}", $this->namespace, $data);
        $data = str_replace("{CLASSNAME}", $this->classname, $data);
        $data = str_replace("{CONTENTS}", $this->contents, $data);
        $data = str_replace("{USES}", $this->uses, $data);

        return $data;
    }
protected function generateFileContents ( ) { $ data = $ this -> classTemplate ; $ data = str_replace ( "{EXTENDS}" , $ this -> extends , $ data ) ; $ data = str_replace ( "{NAMESPACE}" , $ this -> namespace , $ data ) ; $ data = str_replace ( "{CLASSNAME}" , $ this -> classname , $ data ) ; $ data = str_replace ( "{CONTENTS}" , $ this -> contents , $ data ) ; $ data = str_replace ( "{USES}" , $ this -> uses , $ data ) ; return $ data ; }
Generates a file string content based on the global template.
@return string            The generated class string
Generates a file string content based on the global template .