protected function getTemplate($template, $className)
    {
        $this->template = $this->file->get($template);
        $models = strtolower(str_replace('TableSeeder', '', $className));

        $this->template = str_replace('{{className}}', $className, $this->template);

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

        $this->template = str_replace('{{className}}', $className, $this->template);

        return str_replace('{{models}}', $models, $this->template);
    }
protected function getTemplate ( $ template , $ className ) { $ this -> template = $ this -> file -> get ( $ template ) ; $ models = strtolower ( str_replace ( 'TableSeeder' , '' , $ className ) ) ; $ this -> template = str_replace ( '{{className}}' , $ className , $ this -> template ) ; return str_replace ( '{{models}}' , $ models , $ this -> template ) ; }
Fetch the compiled template for a seed

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