BearFramework\App\Addons

Provides a way to enable addons.
BearFramework\App\Addons {

    
/* Methods */
    
public __construct BearFramework\App $app )
    public 
self add string $id )
    public 
bool exists string $id )
    public 
BearFramework\App\Addon|null get string $id )
    public 
BearFramework\DataList|BearFramework\App\Addon[] getList void )

}
Methods
public self add ( string $id )
Enables an addon.
public bool exists ( string $id )
Returns information whether an addon with the id specified is enabled.
public BearFramework\App\Addon|null get ( string $id )
Returns the enabled addon or null if not found.
Returns a list of all enabled addons.
Details
Location: ~/src/App/Addons.php
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.