# Events and Notifications Best Practices ## Rely on Event Discovery Laravel discovers listeners in the configured listener directories by inspecting type-hinted event arguments on ___SINGLE_BACKTICK___handle()___SINGLE_BACKTICK___ or ___SINGLE_BACKTICK_____invoke()___SINGLE_BACKTICK___ methods. Register listeners manually only when discovery is disabled, the listener is outside those directories, or explicit registration is clearer. ## Cache Event Discovery During Production Deployment Cache discovered listeners during production deployment with ___SINGLE_BACKTICK___
Fatal error: Uncaught Error: Call to undefined function e() in C:\laragon\www\solar-crm\storage\framework\views\647ea75fa0c9b2e25ed032b812954511.php:12 Stack trace: #0 {main} thrown in C:\laragon\www\solar-crm\storage\framework\views\647ea75fa0c9b2e25ed032b812954511.php on line 12