ClassCollectionLoader
class ClassCollectionLoader
ClassCollectionLoader.
Methods
static
load(array $classes, string $cacheDir, string $name, bool $autoReload, bool $adaptive = false, string $extension = '.php')
Loads a list of classes and caches them in one big file.
static string
fixNamespaceDeclarations(string $source)
Adds brackets around each namespace if it's not already the case.
static
enableTokenizer($bool)
This method is only useful for testing.
Details
at line line 37
static
load(array $classes, string $cacheDir, string $name, bool $autoReload, bool $adaptive = false, string $extension = '.php')
Loads a list of classes and caches them in one big file.
at line line 134
static string
fixNamespaceDeclarations(string $source)
Adds brackets around each namespace if it's not already the case.
at line line 198
static
enableTokenizer($bool)
This method is only useful for testing.