# 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 /home13/settlepos/restaurant.settlepos.com/storage/framework/views/171ee90d112665597fc108121672ee8b.php:12
Stack trace:
#0 {main}
thrown in /home13/settlepos/restaurant.settlepos.com/storage/framework/views/171ee90d112665597fc108121672ee8b.php on line 12