X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/vendor/illuminate/support/Facades
home
/
gfecatvj
/
sites
/
vendor
/
illuminate
/
support
/
Facades
/
📁
..
📄
App.php
(2.34 KB)
📄
Artisan.php
(1.06 KB)
📄
Auth.php
(2.37 KB)
📄
Blade.php
(1.57 KB)
📄
Broadcast.php
(740 B)
📄
Bus.php
(1.78 KB)
📄
Cache.php
(1.6 KB)
📄
Config.php
(557 B)
📄
Cookie.php
(973 B)
📄
Crypt.php
(718 B)
📄
DB.php
(1.65 KB)
📄
Date.php
(5.46 KB)
📄
Event.php
(2.53 KB)
📄
Facade.php
(5.96 KB)
📄
File.php
(2.6 KB)
📄
Gate.php
(1.67 KB)
📄
Hash.php
(585 B)
📄
Http.php
(3.04 KB)
📄
Lang.php
(668 B)
📄
Log.php
(1.05 KB)
📄
Mail.php
(1.94 KB)
📄
Notification.php
(2.01 KB)
📄
Password.php
(1.11 KB)
📄
Queue.php
(1.9 KB)
📄
Redirect.php
(2 KB)
📄
Redis.php
(625 B)
📄
Request.php
(4.96 KB)
📄
Response.php
(2.35 KB)
📄
Route.php
(3.19 KB)
📄
Schema.php
(1.59 KB)
📄
Session.php
(1.37 KB)
📄
Storage.php
(3.51 KB)
📄
URL.php
(1.4 KB)
📄
Validator.php
(733 B)
📄
View.php
(1.12 KB)
Editing: Event.php
<?php namespace Illuminate\Support\Facades; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Testing\Fakes\EventFake; /** * @method static \Closure createClassListener(string $listener, bool $wildcard = false) * @method static \Closure makeListener(\Closure|string $listener, bool $wildcard = false) * @method static \Illuminate\Events\Dispatcher setQueueResolver(callable $resolver) * @method static array getListeners(string $eventName) * @method static array|null dispatch(string|object $event, mixed $payload = [], bool $halt = false) * @method static array|null until(string|object $event, mixed $payload = []) * @method static bool hasListeners(string $eventName) * @method static void assertDispatched(string $event, callable|int $callback = null) * @method static void assertDispatchedTimes(string $event, int $times = 1) * @method static void assertNotDispatched(string $event, callable|int $callback = null) * @method static void flush(string $event) * @method static void forget(string $event) * @method static void forgetPushed() * @method static void listen(string|array $events, \Closure|string $listener) * @method static void push(string $event, array $payload = []) * @method static void subscribe(object|string $subscriber) * * @see \Illuminate\Events\Dispatcher */ class Event extends Facade { /** * Replace the bound instance with a fake. * * @param array|string $eventsToFake * @return \Illuminate\Support\Testing\Fakes\EventFake */ public static function fake($eventsToFake = []) { static::swap($fake = new EventFake(static::getFacadeRoot(), $eventsToFake)); Model::setEventDispatcher($fake); Cache::refreshEventDispatcher(); return $fake; } /** * Replace the bound instance with a fake during the given callable's execution. * * @param callable $callable * @param array $eventsToFake * @return callable */ public static function fakeFor(callable $callable, array $eventsToFake = []) { $originalDispatcher = static::getFacadeRoot(); static::fake($eventsToFake); return tap($callable(), function () use ($originalDispatcher) { static::swap($originalDispatcher); Model::setEventDispatcher($originalDispatcher); Cache::refreshEventDispatcher(); }); } /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'events'; } }
Upload File
Create Folder