diff --git a/lib/Shell.php b/lib/Shell.php index 847a4ec..768730c 100644 --- a/lib/Shell.php +++ b/lib/Shell.php @@ -90,6 +90,16 @@ class Shell } } + /** + * Return the current context + * + * @return Context The current context + */ + public function getContext() + { + return $this->context; + } + /** * Push a new primary context, saving the previous contexts on a stack. *