ClassCollectionLoader

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

static load(array $classes, string $cacheDir, string $name, bool $a