<?php
\kernel\App::$notificationDispatcher = new \kernel\modules\notification\NotificationDispatcher();

\kernel\App::$notificationDispatcher->addChannel('email', new \kernel\modules\notification\channels\EmailChannel());