Docs
Addons
Community
News
Documentation
/
API
BearFramework\App\Classes::add
Registers a class for autoloading.
public
self add
(
string $class
,
string $filename
)
Parameters
class
The class name or class name pattern (format: Namespace\*).
filename
The filename that contains the class or path pattern (format: path/to/file/*.php).
Returns
Returns a reference to itself.
Details
BearFramework\App\Classes
Location: ~/src/App/Classes.php
back to index
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.