ClassLoader

class ClassLoader ClassLoader implements an PSR-0 class loader. See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md $loader = new ClassLoader(); // register classes with namespaces $loader->addPrefix('Symfony\Component', __DIR__.'/component'); $loader->addPrefix('Symfony', __DIR__.'/framework'); // activate the autoloader $loader->register(); // to enable searching the include path (e.g. for PEAR packages) $loader->setUseIncludePath(true); In

ClassMapGenerator::dump()

static dump(array|string $dirs, string $file) Generate a class map file. Parameters array|string $dirs Directories or a single path to search in string $file The name of the class map file

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

ClassCacheCacheWarmer

class ClassCacheCacheWarmer implements CacheWarmerInterface Generates the Class Cache (classes.php) file. Methods warmUp(string $cacheDir) Warms up the cache. bool isOptional() Checks whether this warmer is optional or not. Details warmUp(string $cacheDir) Warms up the cache. Parameters string $cacheDir The cache directory bool isOptional() Checks whether this warmer is optional or not. Return

ChromePhpHandler

class ChromePhpHandler extends ChromePHPHandler ChromePhpHandler. Methods onKernelResponse(FilterResponseEvent $event) Adds the headers to the response once it's created. Details onKernelResponse(FilterResponseEvent $event) Adds the headers to the response once it's created. Parameters FilterResponseEvent $event

ClassBasedInterface deprecated

interface ClassBasedInterface deprecated since version 2.5, to be removed in 3.0. Use {@link Mapping\ClassMetadataInterface} instead. An object backed by a PHP class. Methods string getClassName() Returns the name of the backing PHP class. Details string getClassName() Returns the name of the backing PHP class. Return Value string The name of the backing class.

CircularReferenceException

class CircularReferenceException extends RuntimeException CircularReferenceException.

ClassCacheCacheWarmer::isOptional()

bool isOptional() Checks whether this warmer is optional or not. Return Value bool true if the warmer is optional, false otherwise

ClassCacheCacheWarmer::warmUp()

warmUp(string $cacheDir) Warms up the cache. Parameters string $cacheDir The cache directory

ChoiceType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options