- Added DocumentController for handling document uploads and management. - Created Document model with necessary attributes and relationships. - Implemented DocumentService for business logic related to documents. - Set up routes for document management in both web and API contexts. - Developed views for document upload using Dropzone for file handling. - Included necessary assets and styles for the Document module. - Created migration for documents table with appropriate fields. - Added configuration and service provider for the Document module.
31 lines
646 B
PHP
31 lines
646 B
PHP
<?php
|
|
|
|
namespace Modules\Document\Providers;
|
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* The event handler mappings for the application.
|
|
*
|
|
* @var array<string, array<int, string>>
|
|
*/
|
|
protected $listen = [];
|
|
|
|
/**
|
|
* Indicates if events should be discovered.
|
|
*
|
|
* @var bool
|
|
*/
|
|
protected static $shouldDiscoverEvents = true;
|
|
|
|
/**
|
|
* Configure the proper event listeners for email verification.
|
|
*/
|
|
protected function configureEmailVerification(): void
|
|
{
|
|
//
|
|
}
|
|
}
|