Вход Регистрация
Файл: system/vendor/illuminate/support/Facades/Mail.php
Строк: 84
<?php

namespace IlluminateSupportFacades;

use 
IlluminateSupportTestingFakesMailFake;

/**
 * @method static IlluminateMailPendingMail to($users)
 * @method static IlluminateMailPendingMail bcc($users)
 * @method static void raw(string $text, $callback)
 * @method static void send(IlluminateContractsMailMailable|string|array $view, array $data = [], Closure|string $callback = null)
 * @method static array failures()
 * @method static mixed queue(IlluminateContractsMailMailable|string|array $view, string $queue = null)
 * @method static mixed later(DateTimeInterface|DateInterval|int $delay, IlluminateContractsMailMailable|string|array $view, string $queue = null)
 * @method static void assertSent(string $mailable, callable|int $callback = null)
 * @method static void assertNotSent(string $mailable, callable|int $callback = null)
 * @method static void assertNothingSent()
 * @method static void assertQueued(string $mailable, callable|int $callback = null)
 * @method static void assertNotQueued(string $mailable, callable $callback = null)
 * @method static void assertNothingQueued()
 * @method static IlluminateSupportCollection sent(string $mailable, Closure|string $callback = null)
 * @method static bool hasSent(string $mailable)
 * @method static IlluminateSupportCollection queued(string $mailable, Closure|string $callback = null)
 * @method static bool hasQueued(string $mailable)
 *
 * @see IlluminateMailMailer
 * @see IlluminateSupportTestingFakesMailFake
 */
class Mail extends Facade
{
    
/**
     * Replace the bound instance with a fake.
     *
     * @return IlluminateSupportTestingFakesMailFake
     */
    
public static function fake()
    {
        static::
swap($fake = new MailFake);

        return 
$fake;
    }

    
/**
     * Get the registered name of the component.
     *
     * @return string
     */
    
protected static function getFacadeAccessor()
    {
        return 
'mail.manager';
    }
}
Онлайн: 0
Реклама