|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace Qoraiche\MailEclipse\Facades; |
|
4
|
|
|
|
|
5
|
|
|
use Illuminate\Support\Facades\Facade; |
|
6
|
|
|
use Qoraiche\MailEclipse\MailEclipse as MailEclipseParent; |
|
7
|
|
|
|
|
8
|
|
|
/** |
|
9
|
|
|
* @method static \Illuminate\Support\Collection getMailables() |
|
10
|
|
|
* @method static \Illuminate\Support\Collection getMailable($key, $name) |
|
11
|
|
|
* @method static bool deleteTemplate($templateSlug) |
|
12
|
|
|
* @method static string getTemplatesFile() |
|
13
|
|
|
* @method static void saveTemplates(Collection $templates) |
|
14
|
|
|
* @method static \Illuminate\Http\Response|\Illuminate\Contracts\Routing\ResponseFactory updateTemplate($request) |
|
15
|
|
|
* @method static \Illuminate\Support\Collection getTemplate($templateSlug) |
|
16
|
|
|
* @method static \Illuminate\Support\Collection getTemplates() |
|
17
|
|
|
* @method static \Illuminate\Http\Response|\Illuminate\Contracts\Routing\ResponseFactory createTemplate($request) |
|
18
|
|
|
* @method static string markdownedTemplateToView($save = true, $content = '', $viewPath = '', $template = false) |
|
19
|
|
|
* @method static bool|mixed|string previewMarkdownViewContent($simpleview, $content, $viewName, $template = false, $namespace = null) |
|
20
|
|
|
* @method static mixed|string previewMarkdownHtml($instance, $view) |
|
21
|
|
|
* @method static array|bool getMailableTemplateData($mailableName) |
|
22
|
|
|
* @method static \Illuminate\Http\Response|\Illuminate\Contracts\Routing\ResponseFactory generateMailable($request = null) |
|
23
|
|
|
* @method static array handleMailableViewDataArgs($mailable) |
|
24
|
|
|
* @method static \Illuminate\Contracts\Mail\Mailable|\Illuminate\Contracts\Support\Renderable buildMailable($instance, $type = 'call') |
|
25
|
|
|
* @method static void|string renderPreview($simpleview, $view, $template = false, $instance = null) |
|
26
|
|
|
* @method static void sendTest(string $name, string $recipient) |
|
27
|
|
|
* |
|
28
|
|
|
* @see \Qoraiche\MailEclipse\MailEclipse |
|
29
|
|
|
*/ |
|
30
|
|
|
class MailEclipse extends Facade |
|
31
|
|
|
{ |
|
32
|
|
|
const VIEW_NAMESPACE = MailEclipseParent::VIEW_NAMESPACE; |
|
33
|
|
|
|
|
34
|
|
|
const VERSION = MailEclipseParent::VERSION; |
|
35
|
|
|
|
|
36
|
|
|
/** |
|
37
|
|
|
* Get the registered name of the component. |
|
38
|
|
|
* |
|
39
|
|
|
* @return string |
|
40
|
|
|
*/ |
|
41
|
|
|
protected static function getFacadeAccessor() |
|
42
|
|
|
{ |
|
43
|
|
|
return 'maileclipse'; |
|
44
|
|
|
} |
|
45
|
|
|
} |
|
46
|
|
|
|