L.Class powers the OOP facilities of Leaflet and is used to create almost all the Leaflet classes documented.
L.Class
Abstract class for map interaction handlers