summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Pugh2017-11-20 20:49:53 (GMT)
committerJon Pugh2017-11-20 20:49:53 (GMT)
commitb41d09efab4aca1bbacfda7deefd4e3575d0ab3a (patch)
treee226d159372b43bac285e2cff41f1aad1b439fb5
parentfb522e7add3af9f6f315f23e2dab73786734a115 (diff)
Finish refactor of getApplication() to getProvision().
-rw-r--r--src/Command/SaveCommand.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Command/SaveCommand.php b/src/Command/SaveCommand.php
index a54da22..f894612 100644
--- a/src/Command/SaveCommand.php
+++ b/src/Command/SaveCommand.php
@@ -228,7 +228,7 @@ class SaveCommand extends Command
*/
public function askForContext($question = 'Choose a context')
{
- $options = $this->getApplication()->getAllContextsOptions();
+ $options = $this->getProvision()->getAllContextsOptions();
// If there are options, add "new" to the list.
if (count($options)) {
@@ -360,7 +360,7 @@ class SaveCommand extends Command
}
}
else {
- $contexts[$property] = $this->io->choice("Select $property context", $this->getApplication()->getAllContextsOptions($context_type));
+ $contexts[$property] = $this->io->choice("Select $property context", $this->getProvision()->getAllContextsOptions($context_type));
}
}
return $contexts;