TemplateContract
abstract class TemplateContract
Properties
| protected | $contents | ||
| protected | |||
| protected | $minify |
Methods
bool
isLocal()
Host check
void
setMinify(bool $status)
Minify html template
void
generateCoverUrl(string $filename)
Book cover generator
object
render()
Rendering processs
value
asAltBody()
Generate email body without html tag
string
__toString()
Convert object into string
Details
at line 24
bool
isLocal()
Host check
at line 45
void
setMinify(bool $status)
Minify html template
at line 59
void
generateCoverUrl(string $filename)
Book cover generator
https is required to make our resource is secure at browser (CSP issue)
at line 73
abstract object
render()
Rendering processs
at line 80
value
asAltBody()
Generate email body without html tag
at line 92
string
__toString()
Convert object into string