Documentation

AddAnnotatedClassesToCachePass
in package
implements CompilerPassInterface

Sets the classes to compile in the cache for the container.

Tags
author

Fabien Potencier fabien@symfony.com

Interfaces, Classes and Traits

CompilerPassInterface
Interface that must be implemented by compilation passes.

Table of Contents

$kernel  : mixed
__construct()  : mixed
process()  : mixed
You can modify the container here before it is dumped to PHP code.
expandClasses()  : array<string|int, mixed>
Expands the given class patterns using a list of existing classes.
getClassesInComposerClassMaps()  : array<string|int, mixed>
matchAnyRegexps()  : bool
patternsToRegexps()  : array<string|int, mixed>

Properties

Methods

expandClasses()

Expands the given class patterns using a list of existing classes.

private expandClasses(array<string|int, mixed> $patterns, array<string|int, mixed> $classes) : array<string|int, mixed>
Parameters
$patterns : array<string|int, mixed>

The class patterns to expand

$classes : array<string|int, mixed>

The existing classes to match against the patterns

Return values
array<string|int, mixed>

getClassesInComposerClassMaps()

private getClassesInComposerClassMaps() : array<string|int, mixed>
Return values
array<string|int, mixed>

matchAnyRegexps()

private matchAnyRegexps(string $class, array<string|int, mixed> $regexps) : bool
Parameters
$class : string
$regexps : array<string|int, mixed>
Return values
bool

patternsToRegexps()

private patternsToRegexps(array<string|int, mixed> $patterns) : array<string|int, mixed>
Parameters
$patterns : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results