EventServiceProvider.php 415 B

1234567891011121314151617181920212223242526272829
  1. <?php namespace App\Providers;
  2. use Illuminate\Foundation\Providers\EventServiceProvider as ServiceProvider;
  3. class EventServiceProvider extends ServiceProvider {
  4. /**
  5. * Bootstrap the application events.
  6. *
  7. * @return void
  8. */
  9. public function boot()
  10. {
  11. //
  12. }
  13. /**
  14. * Get the directories to scan for events.
  15. *
  16. * @return array
  17. */
  18. public function scan()
  19. {
  20. return [
  21. app_path().'/src',
  22. ];
  23. }
  24. }