src/generators/FileGenerator.php
protected function compileInternal($templateFile, array $providers = array(), array $properties = array())
    {
        $providers = array_merge($this->providers, $providers);
        $templateData = !empty($providers) ? $this->runProviders($providers, $properties) : array();
        return $this->compileTemplate($templateFile, $templateData);
    }
protected function compileInternal($templateFile, array $providers = array(), array $properties = array())
    {
        $providers = array_merge($this->providers, $providers);
        $templateData = !empty($providers) ? $this->runProviders($providers, $properties) : array();
        return $this->compileTemplate($templateFile, $templateData);
    }
protected function compileInternal ( $ templateFile , array $ providers = array ( ) , array $ properties = array ( ) ) { $ providers = array_merge ( $ this -> providers , $ providers ) ; $ templateData = ! empty ( $ providers ) ? $ this -> runProviders ( $ providers , $ properties ) : array ( ) ; return $ this -> compileTemplate ( $ templateFile , $ templateData ) ; }
Compiles a specific template file using a set of providers.

@param string $templateFile path to the template file.
@param array $providers a set of providers to run.
@param array $properties properties to pass to the providers.
@return string the compiled template.
Compiles a specific template file using a set of providers .