class Email
Supports commands related to the MailerService.
Constants
| private LAYOUT_PATH |
Path for email layouts. |
| private MAILER_PATH |
Path for custom mailers. |
| private TEMPLATE_PATH |
Path for email templates. |
Methods
static void
layoutPath()
Creates directory for layout if it does not exist.
static string
layoutTemplate()
Template for E-mail layout.
static string
mailerTemplate(string $mailerName)
Template for custom mailer class.
static int
makeEmail(InputInterface $input)
Generates a new E-mail.
static int
makeLayout(InputInterface $input)
Generates a new E-mail layout.
static int
makeMailer(InputInterface $input)
Generates a new custom mailer class.
Details
at line 32
static void
layoutPath()
Creates directory for layout if it does not exist.
at line 43
static string
layoutTemplate()
Template for E-mail layout.
at line 63
static string
mailerTemplate(string $mailerName)
Template for custom mailer class.
at line 111
static int
makeEmail(InputInterface $input)
Generates a new E-mail.
at line 123
static int
makeLayout(InputInterface $input)
Generates a new E-mail layout.
at line 135
static int
makeMailer(InputInterface $input)
Generates a new custom mailer class.