From 881dd10e2c857b43efa0b6b2f8b7726c1505e9f8 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 22 Feb 2016 10:30:14 +0200 Subject: [PATCH] Added file --- app/Console/Commands/GenerateResources.php | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 app/Console/Commands/GenerateResources.php diff --git a/app/Console/Commands/GenerateResources.php b/app/Console/Commands/GenerateResources.php new file mode 100644 index 000000000000..a1dc404f79bb --- /dev/null +++ b/app/Console/Commands/GenerateResources.php @@ -0,0 +1,68 @@ + $value) { + if (is_array($value)) { + echo $key; + } else { + echo "$key => $value\n"; + } + } + } + + protected function getArguments() + { + return array( + //array('example', InputArgument::REQUIRED, 'An example argument.'), + ); + } + + protected function getOptions() + { + return array( + //array('example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null), + ); + } +}