You are here

public function Extension::addClassesToCompile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/DependencyInjection/Extension.php \Symfony\Component\HttpKernel\DependencyInjection\Extension::addClassesToCompile()

Adds classes to the class cache.

Parameters

array $classes An array of classes:

File

vendor/symfony/http-kernel/DependencyInjection/Extension.php, line 40

Class

Extension
Allow adding classes to the class cache.

Namespace

Symfony\Component\HttpKernel\DependencyInjection

Code

public function addClassesToCompile(array $classes) {
  $this->classes = array_merge($this->classes, $classes);
}