How to make extension to perform custom initialization on a Magento 2 start
There are at least two use cases in this situation. In Magento 2 you can custom mini-libraries with such short popular global functions as rm_customer_logged_in(): Continue Reading