BearFramework\App\Contexts

Provides information about your code context (the directory its located).
BearFramework\App\Contexts {

    
/* Methods */
    
public __construct BearFramework\App $app )
    public 
self add string $dir )
    public 
BearFramework\App\Context get ( [ string|null $filename ] )

}
Methods
public self add ( string $dir )
Registers a new context.
public BearFramework\App\Context get ( [ string|null $filename ] )
Returns a context object for the filename specified.
Details
Location: ~/src/App/Contexts.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.