diff --git a/config/ide-helper.php b/config/ide-helper.php index f481d4c..48a06db 100644 --- a/config/ide-helper.php +++ b/config/ide-helper.php @@ -13,6 +13,8 @@ return array( 'filename' => '_ide_helper', 'format' => 'php', + + 'meta_filename' => '.phpstorm.meta.php', /* |-------------------------------------------------------------------------- diff --git a/src/Console/MetaCommand.php b/src/Console/MetaCommand.php index e2bd73f..9c623a6 100644 --- a/src/Console/MetaCommand.php +++ b/src/Console/MetaCommand.php @@ -28,7 +28,6 @@ class MetaCommand extends Command * @var string */ protected $name = 'ide-helper:meta'; - protected $filename = '.phpstorm.meta.php'; /** * The console command description. @@ -138,8 +137,10 @@ class MetaCommand extends Command */ protected function getOptions() { + $filename = $this->config->get('ide-helper.meta_filename'); + return array( - array('filename', 'F', InputOption::VALUE_OPTIONAL, 'The path to the meta file', $this->filename), + array('filename', 'F', InputOption::VALUE_OPTIONAL, 'The path to the meta file', $filename), ); } }