app/code/community/Nexcessnet/Turpentine/Model/Varnish/Configurator/Abstract.php
protected function _vcl_acl($name, array $hosts) {
        $tpl = <<<EOS
acl {{name}} {
    {{hosts}}
}
EOS;
        $fmtHost = create_function('$h', 'return sprintf(\'"%s";\',$h);');
        $vars = array(
            'name'  => $name,
            'hosts' => implode("\n    ", array_map($fmtHost, $hosts)),
        );
        return $this->_formatTemplate($tpl, $vars);
    }
protected function _vcl_acl($name, array $hosts) {
        $tpl = <<<EOS
acl {{name}} {
    {{hosts}}
}
EOS;
        $fmtHost = create_function('$h', 'return sprintf(\'"%s";\',$h);');
        $vars = array(
            'name'  => $name,
            'hosts' => implode("\n    ", array_map($fmtHost, $hosts)),
        );
        return $this->_formatTemplate($tpl, $vars);
    }
protected function _vcl_acl ( $ name , array $ hosts ) { $ tpl =  <<<EOS
acl {{name}} {
    {{hosts}}
}
EOS ; $ fmtHost = create_function ( '$h' , 'return sprintf(\'"%s";\',$h);' ) ; $ vars = array ( 'name' => $ name , 'hosts' => implode ( "\n    " , array_map ( $ fmtHost , $ hosts ) ) , ) ; return $ this -> _formatTemplate ( $ tpl , $ vars ) ; }
Format a VCL ACL declaration

@param  string $name  ACL name
@param  array  $hosts list of hosts to add to the ACL
@return string
Format a VCL ACL declaration