%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/conference/vendor/laravel/framework/src/Illuminate/Support/Facades/
Upload File :
Create Path :
Current File : /var/www/html/conference/vendor/laravel/framework/src/Illuminate/Support/Facades/Event.php

<?php

namespace Illuminate\Support\Facades;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Testing\Fakes\EventFake;

/**
 * @see \Illuminate\Events\Dispatcher
 */
class Event extends Facade
{
    /**
     * Replace the bound instance with a fake.
     *
     * @param  array|string  $eventsToFake
     * @return void
     */
    public static function fake($eventsToFake = [])
    {
        static::swap($fake = new EventFake(static::getFacadeRoot(), $eventsToFake));

        Model::setEventDispatcher($fake);
    }

    /**
     * Get the registered name of the component.
     *
     * @return string
     */
    protected static function getFacadeAccessor()
    {
        return 'events';
    }
}

Zerion Mini Shell 1.0