\

Namespaces

Phabstractic

Constants

UNITTEST_LOADREGISTRY

UNITTEST_LOADREGISTRY

Functions

falcraftLoad()

falcraftLoad(array  $libraries, string  $context = 'global', mixed  $refresh = false) 

Load PHP Files When Autoloader Doesn't Exist

The following uses the patterns namespace to instantiate a registry object and then check that registry object for the standard Falcraft AutoLoader singleton, defined standard in the Loader/Bootstrap.php. These results are cached, but can be refreshed later. If there is no loader we include the files passed to the function.

Parameters

array $libraries

files to load relative to this file

string $context

the context of the file including

mixed $refresh

refresh the loader contents with another value