Added getContext method to shell
This commit is contained in:
		@@ -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.
 | 
				
			||||||
     *
 | 
					     *
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user