Updated examples, added onEnter method to contexts

This commit is contained in:
2017-01-29 20:27:17 +01:00
parent ec60970b5d
commit 75c624520d
4 changed files with 47 additions and 16 deletions

View File

@ -113,6 +113,7 @@ class Shell
}
$context->setShell($this);
$this->context = $context;
$context->onEnter();
$this->dispatchEvent(self::EVT_CONTEXT_CHANGED);
}