BearFramework\App\Addon

BearFramework\App\Addon {

    
/* Properties */
    
public readonly string $dir
    
public readonly string $id

    
/* Methods */
    
public __construct string $id string $dir )
    public array 
toArray void )
    public 
string toJSON void )

}
Properties
public readonly string $dir
The directory where the addon files are located.
public readonly string $id
The id of the addon.
Methods
public __construct ( string $id , string $dir )
public array toArray ( void )
Returns the object data converted as an array.
public string toJSON ( void )
Returns the object data converted as JSON.
Details
Location: ~/src/App/Addon.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.