ClassCollectionLoader (Component\ClassLoader)
Symfony\Component\ClassLoader\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 public 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 public string fixNamespaceDeclarations(string $source)
Adds brackets around each namespace if it's not already the case.
static public enableTokenizer($bool)
This method is only useful for testing.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/ClassLoader/ClassCollectionLoader.html