joubjoub/notification-bundle
Composer 安装命令:
composer require joubjoub/notification-bundle
包简介
Provides notification for your Symfony2 application.
README 文档
README
Provides a notification bundle for Symfony2
Installation
Install it via composer with:
composer require joubjoub/notification-bundle dev-master
You should create entities UserNotification, Notification, and implements the NotifiableInterface for your User entity.
Usage
And then, you should be able to add a notification with the service joubjoub.notification like this:
// $users can be an array of NotifiableInterface object, or a NotifiableInterface object $this->get('joubjoub.notification')->addNotification($users, $notification);
## License This bundle is under MIT License.
Unit test
Unit tests will come soon.
统计信息
- 总下载量: 43
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-16