Documentation

NotLoadedExtension extends Extension
in package

Allow adding classes to the class cache.

Table of Contents

$annotatedClasses  : mixed
$classes  : mixed
addAnnotatedClassesToCompile()  : mixed
Adds annotated classes to the class cache.
addClassesToCompile()  : mixed
Adds classes to the class cache.
getAnnotatedClassesToCompile()  : array<string|int, mixed>
Gets the annotated classes to cache.
getClassesToCompile()  : array<string|int, mixed>
Gets the classes to cache.
load()  : mixed

Properties

$annotatedClasses

private mixed $annotatedClasses = []

Methods

addAnnotatedClassesToCompile()

Adds annotated classes to the class cache.

public addAnnotatedClassesToCompile(array<string|int, mixed> $annotatedClasses) : mixed
Parameters
$annotatedClasses : array<string|int, mixed>

An array of class patterns

Return values
mixed

addClassesToCompile()

Adds classes to the class cache.

public addClassesToCompile(array<string|int, mixed> $classes) : mixed
Parameters
$classes : array<string|int, mixed>

An array of class patterns

Tags
deprecated

since version 3.3, to be removed in 4.0.

Return values
mixed

getAnnotatedClassesToCompile()

Gets the annotated classes to cache.

public getAnnotatedClassesToCompile() : array<string|int, mixed>
Return values
array<string|int, mixed>

An array of classes

getClassesToCompile()

Gets the classes to cache.

public getClassesToCompile() : array<string|int, mixed>
Tags
deprecated

since version 3.3, to be removed in 4.0.

Return values
array<string|int, mixed>

An array of classes

load()

public load(array<string|int, mixed> $configs, ContainerBuilder $container) : mixed
Parameters
$configs : array<string|int, mixed>
$container : ContainerBuilder
Return values
mixed

Search results