NotificationBundle:Symfony 2 环境的事件驱动通知包

时间:2021-06-26 00:58:47
【文件属性】:
文件名称:NotificationBundle:Symfony 2 环境的事件驱动通知包
文件大小:22KB
文件格式:ZIP
更新时间:2021-06-26 00:58:47
PHP HadesArchitect 通知包 Symfony 2 环境的事件驱动通知包。 提供在应用程序中管理用户通知的便捷方式,例如警告管理员有关用户注册等重要事件或通知用户有关他们的任何重要事项(例如“您的订单已发送”)。 那时只支持 swiftmailer 作为通知渠道,但它可以很容易地扩展。 视觉部分可以由任何受支持的模板引擎(如 twig)渲染。 安装 通过 Composer 安装: 第一步:需要捆绑 composer require hadesarchitect/notification-bundle ~ 1 第二步:启用捆绑 <?php // app/AppKernel.php public function registerBundles () { $ bundles = array ( // ... new HadesArchite
【文件预览】:
NotificationBundle-master
----Notification()
--------Notification.php(1KB)
--------NotificationInterface.php(873B)
----Channel()
--------NullChannel.php(607B)
--------SwiftmailerChannel.php(1KB)
--------SenderAwareChannelInterface.php(436B)
--------NotificationChannelInterface.php(556B)
----Resources()
--------views()
--------config()
--------translations()
----Exception()
--------NotificationException.php(377B)
--------TemplateNotSupportedException.php(389B)
--------ChannelException.php(376B)
--------TemplatingException.php(379B)
----Handler()
--------SubjectAwareHandler.php(1KB)
--------SubjectAwareHandlerInterface.php(441B)
--------HandlerInterface.php(1KB)
--------BaseHandler.php(3KB)
--------TranslatorAwareHandlerInterface.php(541B)
----phpunit.xml.dist(262B)
----Tests()
--------Handler()
--------bootstrap.php(502B)
----HadesArchitectNotificationBundle.php(758B)
----.travis.yml(404B)
----LICENSE(1KB)
----DependencyInjection()
--------HadesArchitectNotificationExtension.php(4KB)
--------Configuration.php(2KB)
----README.md(5KB)
----.gitignore(22B)
----composer.json(545B)

网友评论