BearFramework\App\Addons

Provides a way to enable addons and manage their options

BearFramework\App\Addons {

    /* Methods */
    public boolean add ( string $id [, array $options = [] ] )
    public boolean exists ( string $id )
    public string get ( string $id )
    public array getList ( void )

}

Methods

BearFramework\App\Addons::add - Enables an addon and saves the provided options
BearFramework\App\Addons::exists - Checks whether addon is added
BearFramework\App\Addons::get - Returns information about the addon
BearFramework\App\Addons::getList - Returns list of the added addons