"compiledPath" => function ($compiledTemplate) {
// Here you take the file name.
$compiled = substr($rutaCompilada, strripos($compiledTemplate, "/") + 1);
// Here you add the path and extension you want.
return "../app/views/compileds/" . $compiled . ".compiled";
}