protected function getHtmlGenerator(array $fields, $modelName, $template)
    {
        if ($this->isCollectiveTemplate($template)) {
            return new LaravelCollectiveHtml($fields, $modelName, $template);
        }

        return new StandardHtml($fields, $modelName, $template);
    }
protected function getHtmlGenerator(array $fields, $modelName, $template)
    {
        if ($this->isCollectiveTemplate($template)) {
            return new LaravelCollectiveHtml($fields, $modelName, $template);
        }

        return new StandardHtml($fields, $modelName, $template);
    }
protected function getHtmlGenerator ( array $ fields , $ modelName , $ template ) { if ( $ this -> isCollectiveTemplate ( $ template ) ) { return new LaravelCollectiveHtml ( $ fields , $ modelName , $ template ) ; } return new StandardHtml ( $ fields , $ modelName , $ template ) ; }
Gets a new instance of the proper html generator.

@param array $fields
@param string $modelName
@param string $template

@return CrestApps\CodeGenerator\HtmlGenerators\HtmlGeneratorBase
Gets a new instance of the proper html generator .