argument('app_version'); // discard the commit hash $version = explode('-', $hash_version); $realVersion = $version[0] . '-' . $version[1]; // save the version array to a variable $array = var_export(array('app_version' => $realVersion,'hash_version' => $hash_version), true); // Construct our file content $content = <<line('Setting version: '. \config('version.latest')); } /** * Get the console command arguments. * * @return array */ protected function getArguments() { return array( array('app_version', InputArgument::REQUIRED, 'version number is required.'), ); } /** * Get the console command options. * * @return array */ protected function getOptions() { return array( ); } }