glpzzz/object2email
最新稳定版本:1.0.0
Composer 安装命令:
composer require glpzzz/object2email
包简介
Simple solution to obtain a Symfony/Email representation of any object by implementing the provided interface
README 文档
README
Simple solution to prepare a Symfony Email by implementing an interface in any class
The idea is to provide a common interface to for objects to be sent via Symfony Mailer.
Installation
Install using composer
composer require glpzzz/object2email
Usage
$p = new Person() // or obtain from db // work with it, modify it, set the properties... $mailer->send($p->toEmail());
License
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-06