File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
lib/internal/Magento/Framework/Css/PreProcessor/Adapter Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 8
8
use Pelago \Emogrifier ;
9
9
10
10
/**
11
- * Adapter for Emogrifier 3rd party library
11
+ * This class will inline the css of an html to each tag to be used for applications such as a styled email.
12
12
*/
13
13
class CssInliner
14
14
{
@@ -23,8 +23,7 @@ public function __construct()
23
23
}
24
24
25
25
/**
26
- * Sets the HTML to be used with the css.
27
- * This method should be used with setCss.
26
+ * Sets the HTML to be used with the css. This method should be used with setCss.
28
27
*
29
28
* @param string $html
30
29
* @return void
@@ -35,8 +34,7 @@ public function setHtml($html)
35
34
}
36
35
37
36
/**
38
- * Sets the CSS to be merged with the HTML.
39
- * This method should be used with setHtml.
37
+ * Sets the CSS to be merged with the HTML. This method should be used with setHtml.
40
38
*
41
39
* @param string $css
42
40
* @return void
@@ -63,8 +61,7 @@ public function disableStyleBlocksParsing()
63
61
}
64
62
65
63
/**
66
- * Processes the html by placing the css inline.
67
- * You must set first the css by using setCss and html by using setHtml.
64
+ * Processes the html by placing the css inline. Set first the css by using setCss and html by using setHtml.
68
65
*
69
66
* @return string
70
67
* @throws \BadMethodCallException
You can’t perform that action at this time.
0 commit comments