Updated examples, added onEnter method to contexts
This commit is contained in:
		@@ -66,6 +66,11 @@ class Context
 | 
			
		||||
        $this->findCommands();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function onEnter()
 | 
			
		||||
    {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    protected function findCommands()
 | 
			
		||||
    {
 | 
			
		||||
        $refl = new \ReflectionClass(get_called_class());
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user