<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
robertotru / to-inline-style-email-bundle example snippets
php
new RobertoTru\ToInlineStyleEmailBundle\RobertoTruToInlineStyleEmailBundle(),
php
public function indexAction() {
$converter = $this->get('css_to_inline_email_converter');
...
}
php
$converter = $this->get('css_to_inline_email_converter');
$html = ...; // get the HTML here
$css = ....; // get the CSS here
return $converter->inlineCSS($html, $css);