BearFramework\App\Context

Provides information about addons and application location and utility functions.
BearFramework\App\Context {

    
/* Properties */
    
public readonly BearFramework\App\Context\Assets $assets
    
public readonly BearFramework\App\Context\Classes $classes
    
public readonly string $dir

    
/* Methods */
    
public __construct BearFramework\App $app string $dir )

}
Properties
public readonly BearFramework\App\Context\Assets $assets
Provides utility functions for assets in the current context dir.
public readonly BearFramework\App\Context\Classes $classes
Provides functionality for autoloading classes in the current context.
public readonly string $dir
The directory where the current addon or application are located.
Methods
public __construct ( BearFramework\App $app , string $dir )
Details
Location: ~/src/App/Context.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.