Add preload/compiled.php to helpers

This commit is contained in:
Barry
2013-03-12 10:51:00 +01:00
parent f1aa8c6232
commit c92eefbc3d
3 changed files with 9 additions and 9 deletions
@@ -82,12 +82,6 @@ class GeneratorCommand extends Command {
$output = "<?php die('Only to be used as an helper for your IDE');\n";
if(!empty($helpers)){
foreach($helpers as $helper){
$output .= str_replace(array('<?php', '?>'), '', \File::get($helper));
}
}
foreach($aliases as $alias => $className){
$d->analyze($className);
@@ -104,6 +98,12 @@ class GeneratorCommand extends Command {
}
if(!empty($helpers)){
foreach($helpers as $helper){
$output .= str_replace(array('<?php', '?>'), '', \File::get($helper));
}
}
return $output;
}
+1
View File
@@ -27,6 +27,7 @@ return array(
'helper_files' => array(
base_path().'/vendor/laravel/framework/src/Illuminate/Support/helpers.php',
base_path().'/vendor/laravel/framework/preload/compiled.php',
),
/*