Commit 7b8ff8f8 authored by Jon Pugh's avatar Jon Pugh

Replace custom code with method.

parent a7087fc3
......@@ -81,8 +81,6 @@ class SaveCommand extends Command
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
$class = '\Aegir\Provision\Context\\' . ucfirst($input->getOption('context_type')) . "Context";
$context = $this->getApplication()->getContext($input->getArgument('context_name'));
foreach ($context->getProperties() as $name => $value) {
$rows[] = [$name, $value];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment