BearFramework\Addons

The place to register addons that can be enabled for the application.
BearFramework\Addons {

    
/* Methods */
    
public static bool exists string $id )
    public static 
BearFramework\Addon|null get string $id )
    public static 
BearFramework\DataList|BearFramework\Addon[] getList void )
    public static 
bool register string $id string $dir [, array $options = [] ] )

}
Methods
public static bool exists ( string $id )
Checks whether an addon is registered.
public static BearFramework\Addon|null get ( string $id )
Returns information about the addon specified.
Returns a list of all registered addons.
public static bool register ( string $id , string $dir [, array $options = [] ] )
Registers an addon.
Details
Location: ~/src/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.