\SaberCommerce\Plugin is the main plugin class. It contains a constructor which includes the Composer autoload file to load vendor projects.
This class registers an autoloader that then handles automatic requirement of all core classes and components classes in the entire plugin.
This file provides hooks for activation and deactivation of the plugin.
There are a few scripts enqueued for global use.
autoload( $className )
Runs the deactivation method from each of the installed components. Many components have a database table to install, and this type of install is managed per component. The core plugin does not do anything at activation other than relay the call to the components.
Currently empty, does nothing. Is hooked to the deactivation hook. May later be used to fire deactivation processes at the component level.
Powered by BetterDocs