File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Events
Upload
[..]
DiagnosingHealth.php (82 B)
Edit
Rename
Del
DiscoverEvents.php (3.83 KB)
Edit
Rename
Del
Dispatchable.php (1.29 KB)
Edit
Rename
Del
LocaleUpdated.php (548 B)
Edit
Rename
Del
MaintenanceModeDisabled.php (89 B)
Edit
Rename
Del
MaintenanceModeEnabled.php (88 B)
Edit
Rename
Del
PublishingStubs.php (640 B)
Edit
Rename
Del
Terminating.php (77 B)
Edit
Rename
Del
VendorTagPublished.php (524 B)
Edit
Rename
Del
Edit: Dispatchable.php
<?php namespace Illuminate\Foundation\Events; trait Dispatchable { /** * Dispatch the event with the given arguments. * * @param mixed ...$arguments * @return mixed */ public static function dispatch(...$arguments) { return event(new static(...$arguments)); } /** * Dispatch the event with the given arguments if the given truth test passes. * * @param bool $boolean * @param mixed ...$arguments * @return mixed */ public static function dispatchIf($boolean, ...$arguments) { if ($boolean) { return event(new static(...$arguments)); } } /** * Dispatch the event with the given arguments unless the given truth test passes. * * @param bool $boolean * @param mixed ...$arguments * @return mixed */ public static function dispatchUnless($boolean, ...$arguments) { if (! $boolean) { return event(new static(...$arguments)); } } /** * Broadcast the event with the given arguments. * * @param mixed ...$arguments * @return \Illuminate\Broadcasting\PendingBroadcast */ public static function broadcast(...$arguments) { return broadcast(new static(...$arguments)); } }
Simpan