8000 GitHub - glpzzz/Object2Email: Simple solution to prepare a Symfony Email by implementing an interface in any class
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

glpzzz/Object2Email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object2Email

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

MIT

About

Simple solution to prepare a Symfony Email by implementing an interface in any class

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0