Added getContext method to shell
This commit is contained in:
parent
7c76928c3b
commit
ec60970b5d
@ -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.
|
* Push a new primary context, saving the previous contexts on a stack.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user