function execute(CommandContext $context) { $details = new \events\DetailView(); $details->setEventID($context->get('details')); $context->setContent($details->show()); }
function execute(CommandContext $context) { $edit = new \events\EditView(); $edit->setEventID($context->get('edit')); $context->setContent($edit->show()); }
function execute(CommandContext $context) { $home = new \events\GuestView(); $context->setContent($home->show()); }