Skip to content

Instantly share code, notes, and snippets.

@studio-fars-company
Created July 2, 2018 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save studio-fars-company/3da67f837688ca68455d08906c61bbd5 to your computer and use it in GitHub Desktop.
Save studio-fars-company/3da67f837688ca68455d08906c61bbd5 to your computer and use it in GitHub Desktop.
<?php
if (! empty($greeting)) {
echo $greeting, "\n\n";
} else {
echo $level == 'error' ? 'Error!' : 'Hello!', "\n\n";
}
if (! empty($introLines)) {
echo implode("\n", $introLines), "\n\n";
}
if (isset($actionText)) {
echo "{$actionText}", "\n", "{$actionUrl}", "\n\n";
}
if (! empty($outroLines)) {
echo implode("\n", $outroLines), "\n\n";
}
echo trans('sentinel.notify_footer_message'), "\n";
echo config('app.name'), trans('sentinel.system_mail'), "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment