Documentation

AddClassesToCachePass extends AddAnnotatedClassesToCachePass
in package

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

Tags
author

Fabien Potencier fabien@symfony.com

deprecated

since version 3.3, to be removed in 4.0.

Table of Contents

$kernel  : mixed
__construct()  : mixed
process()  : mixed
{@inheritdoc}
expandClasses()  : array<string|int, mixed>
Expands the given class patterns using a list of existing classes.
getClassesInComposerClassMaps()  : mixed
matchAnyRegexps()  : mixed
patternsToRegexps()  : mixed

Properties

Methods

process()

{@inheritdoc}

public process(ContainerBuilder $container) : mixed
Parameters
$container : ContainerBuilder
Return values
mixed

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>

A list of classes derived from the patterns

matchAnyRegexps()

private matchAnyRegexps(mixed $class, mixed $regexps) : mixed
Parameters
$class : mixed
$regexps : mixed
Return values
mixed

Search results