protected function getTemplate($template, $className)
    {
        $this->template = $this->file->get($template);

        if ($this->needsScaffolding($template))
        {
            $this->template = $this->getScaffoldedModel($className);
        }

        return str_replace('{{className}}', $className, $this->template);
    }
protected function getTemplate($template, $className)
    {
        $this->template = $this->file->get($template);

        if ($this->needsScaffolding($template))
        {
            $this->template = $this->getScaffoldedModel($className);
        }

        return str_replace('{{className}}', $className, $this->template);
    }
protected function getTemplate ( $ template , $ className ) { $ this -> template = $ this -> file -> get ( $ template ) ; if ( $ this -> needsScaffolding ( $ template ) ) { $ this -> template = $ this -> getScaffoldedModel ( $ className ) ; } return str_replace ( '{{className}}' , $ className , $ this -> template ) ; }
Fetch the compiled template for a model

@param  string $template Path to template
@param  string $className
@return string Compiled template
Fetch the compiled template for a model